I think we need an index on member_applications.user_uuid and mentor_applications.user_uuid.