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