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