SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}Benidorm{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}' OR prCity = 'Benidorm' OR prZip = 'Benidorm' OR prStreet LIKE '{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}Benidorm{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}' OR prCountry = 'Benidorm') AND (prLocation LIKE '{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}Spain{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}Spain{9d7e13e7c042acf6193b88503e5a57223d918a309bcf2507bf79e58d39a44b72}' OR prCountry = 'Spain')