select prefer_text_only_p, language_preference from user_preferences where user_id = :user_id