SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}Weßling{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}' OR prCity = 'Weßling' OR prZip = 'Weßling' OR prStreet LIKE '{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}Weßling{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}' OR prCountry = 'Weßling') AND (prLocation LIKE '{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}Germany{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}Germany{78d381add4a108d36c357580603ef233ccf56574097c2d7662b28d19308be503}' OR prCountry = 'Germany')