SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}Port{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCity = 'Port' OR prZip = 'Port' OR prStreet LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}Port{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCountry = 'Port') AND (prLocation LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}de{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCity = 'de' OR prZip = 'de' OR prStreet LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}de{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCountry = 'de') AND (prLocation LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}Sóller{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCity = 'Sóller' OR prZip = 'Sóller' OR prStreet LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}Sóller{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCountry = 'Sóller') AND (prLocation LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}Spain{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}Spain{74b17e1170c3b4061c39f61a784b79afbfa64c0870d9704019e0671949323936}' OR prCountry = 'Spain')