SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}Kassel{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}' OR prCity = 'Kassel' OR prZip = 'Kassel' OR prStreet LIKE '{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}Kassel{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}' OR prCountry = 'Kassel') AND (prLocation LIKE '{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}Germany{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}Germany{43ce6e1f3c540b5d9628af542ee178a28bb1726747f4d627772b4574611e6040}' OR prCountry = 'Germany')