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