WBQC uses WikiPageEntityMetaDataLookup to get the latest revision IDs for a list of entity IDs, but that lookup actually gets a lot more information than we need, joining three large tables (page, revision, text) in the process. We don’t need that – for just the revision IDs, page.page_latest should be enough.
Part of https://wikitech.wikimedia.org/wiki/Incident_documentation/20180226-WikibaseQualityConstraints.