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