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