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