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