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