I have written a few posts on loading index pages into the InnoDB Buffer Pool
Here is an example of a SELECT that will generate all possible SELECTs you would want to run to read InnoDB Index Pages:
CONCAT('SELECT ',ndxcollist,' FROM ',db,'.',tb,
' ORDER BY ',ndxcollist,';') SelectQueryToLoadCache
engine,table_schema db,table_name tb,
index_name,GROUP_CONCAT(column_name ORDER BY seq_in_index) ndxcollist
information_schema.statistics A INNER JOIN
FROM information_schema.tables WHERE
) B USING (table_schema,table_name)
WHERE B.table_schema NOT IN ('information_schema','mysql')
ORDER BY table_schema,table_name,index_name,seq_in_index
GROUP BY table_schema,table_name,index_name
ORDER BY db,tb
The main idea with these posts is this: Run SELECT queries whose columns are indexed. This will force index pages into the InnoDB Buffer Pool. Unfortunately, when doing SELECTs against non-indexed columns will push out old index pages out of the InnoDB Buffer Pool. There is no perfect solution for this but to get as many InnoDB index pages as possible.
You may want to limit the tables in the WHERE clause to a specific list of tables.
UPDATE 2021-02-02 10:13 EST
I have some additional advice: If the InnoDB tables don't change all that often, you may want to take a snapshot of the InnoDB Buffer Pool. This is on by default in MySQL 8.0.
For those using MySQL 5.7 and back, please do the following:
STEP 01 : Configure MySQL to Dump the InnoDB Buffer Pool on Shutdown and Load the InnoDB Buffer Pool on Startup
Add these two lines to my.cnf under the
[mysqld] group header
innodb_buffer_pool_dump_at_shutdown = 1
innodb_buffer_pool_load_at_startup = 1
STEP 02 : Configure Running Instance to Dump the Buffer on Shutdown
SET GLOBAL innodb_buffer_pool_dump_at_shutdown = 1;
STEP 03 : Dump the Buffer Pool Now
SET GLOBAL innodb_buffer_pool_dump_now = 1;
That's it. The dump of the Buffer Pool is just a binary file with a list of tablespace IDs. The size of such a file is usually in the 100K-120K range and dumps in seconds.