SELECT device_id
FROM user_profile
WHERE id IN ('1','2');