In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `tables` ADD INDEX `tables_idx_table_name` (`TABLE_NAME`);
SELECT
information_schema.tables.ENGINE,
information_schema.tables.TABLE_NAME,
Round(DATA_LENGTH / 1024 / 1024) AS data_length,
round(INDEX_LENGTH / 1024 / 1024) AS index_length,
round(DATA_FREE / 1024 / 1024) AS data_free
FROM
information_schema.tables
WHERE
DATA_FREE > 0
AND information_schema.tables.TABLE_NAME = 'wp_options'