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