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