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