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