Mysql cannot use the column to the right of the index range condition, how can it be optimized?

suppose there is a compound index index_abcd, and the
query statement where a = "" and b = "" and c > "" and d = ""
at this time c > "" is invalid. How to optimize

?
Apr.20,2022

personally don't think it necessary to optimize..
if you must build.. Unless your statement is frequent and there are still many filtered statements with condition = aquib > c, then build idx_abdc

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-1b38729-2c11c.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-1b38729-2c11c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?