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