SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}Frankfurt{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCity = 'Frankfurt' OR prZip = 'Frankfurt' OR prStreet LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}Frankfurt{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCountry = 'Frankfurt') AND (prLocation LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}/{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}/{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCountry = '/') AND (prLocation LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}Griesheim{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCity = 'Griesheim' OR prZip = 'Griesheim' OR prStreet LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}Griesheim{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCountry = 'Griesheim') AND (prLocation LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}Germany{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}Germany{1931e9fea1056bd34ab4054ebb63724b39c7fe6ebc53142b7795233fcd9abb80}' OR prCountry = 'Germany')