SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}Grünheide{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCity = 'Grünheide' OR prZip = 'Grünheide' OR prStreet LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}Grünheide{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCountry = 'Grünheide') AND (prLocation LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}OT{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCity = 'OT' OR prZip = 'OT' OR prStreet LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}OT{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCountry = 'OT') AND (prLocation LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}Kagel{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCity = 'Kagel' OR prZip = 'Kagel' OR prStreet LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}Kagel{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCountry = 'Kagel') AND (prLocation LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}Germany{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}Germany{d6bd815e9d8aebd766112d28ff94dbca7872dbe084fc04d625ff8d2cc8f76dc2}' OR prCountry = 'Germany')