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