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