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