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