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