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