Speed up Replica revisions query
Speed up Replica revisions query

Related to the following update:
https://phabricator.wikimedia.org/T221339

- Remove optional where clause which uses user_ids, since we do
  not actually use it in the application
- Change to using the actor table

WikiEducationFoundation/WikiEduDashboardTools