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