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