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