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