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