SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}Barcs{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}' OR prCity = 'Barcs' OR prZip = 'Barcs' OR prStreet LIKE '{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}Barcs{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}' OR prCountry = 'Barcs') AND (prLocation LIKE '{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}Ungarn{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}' OR prCity = 'Ungarn' OR prZip = 'Ungarn' OR prStreet LIKE '{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}Ungarn{a1f1855341975c765f2c08e238bbc88c77969f7d70f136e85d8d6d35fb32d597}' OR prCountry = 'Ungarn')