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