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