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