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