fix inefficient query about which labs user has perm for
fix inefficient query about which labs user has perm for

CenterForOpenScience/lookit-api,CenterForOpenScience/lookit-api,CenterForOpenScience/lookit-api