Noticed that the query from local_ltiprovider_get_user_course() was

super slow when run from a shell in production so I added indicies to
help with the grades query