Just these cli commands help you out.
wp db query "SELECT * FROM wp_actionscheduler_logs LIMIT 1"
wp db query "DELETE FROM wp_actionscheduler_logs"
wp db query "DELETE FROM wp_actionscheduler_actions WHERE status = 'complete'"
– you can modify this as you want.