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