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