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