Vous voudrez quelque chose comme :
SELECT user_id FROM user_options WHERE hide_profile_and_presence = true