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