optimize slow oauth2_authorizations query that runs frequently

@azach ok?