SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}Lugau/Erzgeb.{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}' OR prCity = 'Lugau/Erzgeb.' OR prZip = 'Lugau/Erzgeb.' OR prStreet LIKE '{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}Lugau/Erzgeb.{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}' OR prCountry = 'Lugau/Erzgeb.') AND (prLocation LIKE '{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}Germany{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}Germany{ffa2e0e5d066a401079d412bbb0256bdc7aab8120bb8d265f6e3de249686ad4d}' OR prCountry = 'Germany')