Replace autoindexes with permanent indexes
If the query plan includes an autoindex path to a large table, you can generally improve performance by adding an index on that column. If you perform a query regularly, you can save time by creating a permanent index.
If you perform the query occasionally, you can reasonably let the database server build and discard an index.