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