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