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