Why did mysql still leave the index?

EXPLAIN SELECT * FROM mt_table WHERE id= 1;
EXPLAIN SELECT * FROM mt_table WHERE id="1"
the database has more than 300000 data id as primary keys. Why do both of them have the same execution plan, leaving the index and scanning only one piece of data?
ps: database has inconsistent field types and will not move the index. This is the theoretical support, but now it is contrary to the theory to solve
clipboard.png

.
Mar.13,2021

has been measured, and the conclusion is as follows:


can you try adding double quotation marks?


I think the primary key is an index.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4bdf5-44e58.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4bdf5-44e58.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?