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