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