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