datasources_get_table_stats
Row estimates, indexes and per-column distinct counts, null fractions and ranges — from the engine's catalogue, never a scan. An agent reads them before it writes a WHERE, and suggests the index that would help when none does.