SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}Поморие{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}' OR prCity = 'Поморие' OR prZip = 'Поморие' OR prStreet LIKE '{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}Поморие{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}' OR prCountry = 'Поморие') AND (prLocation LIKE '{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}България{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}' OR prCity = 'България' OR prZip = 'България' OR prStreet LIKE '{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}България{3a207daaa16af79b20d9ee319107ec0776c29c4a0ae02911a2d825fc783c7e8f}' OR prCountry = 'България')