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