SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}Ravda{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}' OR prCity = 'Ravda' OR prZip = 'Ravda' OR prStreet LIKE '{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}Ravda{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}' OR prCountry = 'Ravda') AND (prLocation LIKE '{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}Bulgaria{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}' OR prCity = 'Bulgaria' OR prZip = 'Bulgaria' OR prStreet LIKE '{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}Bulgaria{1c83ecf3ad9fc7288de97bbc8bad2f57d5e964b2c02231696ae0eb3794e2ac1c}' OR prCountry = 'Bulgaria')