We can get the same information much more cheaply and predictably by using CourseOverviews. This was contributing to slow traces for the edx_proctoring.views:StudentOnboardingStatusView.get transaction.
2to3 -f future . -w