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