select sub.eid from (
select eid, count(eid) as count from <table_name>
where (key= "patronymic" and value = "Павлович")
or (key = "place_award" and value = "г.Коломна")
group by eid) sub
where sub.count = 2
select eid from <table_name> where patronymic = "Павлович" and place_award = "г.Коломна"