We were doing many individual SQL queries for certificates when awarding program certs. It's possible this was contributing to high SQL load. Instead, let's bundle those queries up into a larger one. LEARNER-6490