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