Comments - index usage on updates
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
The query optimizer makes a best guess for a query plan - without your specific data, it's hard to give a reason. Take a look at the articles in Statistics for Optimizing Queries for more on how the query optimizer works.