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