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