SELECT DISTINCT `haendler_id` FROM `haendler2waren` WHERE `waren_id` IN (710, 39665, 39664)