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