idx_two_code is a left-prefix of idx_two_code_level
Key definitions:
KEY idx_two_code (two_code) USING BTREE,
KEY idx_two_code_level (two_code,level) USING BTREE,
Column types:
two_code varchar(30) character set utf8mb4 collate utf8mb4_0900_ai_ci default null comment '二字码'
level int not null default '0' comment '等级,0: 国家,1:省份,2:城市'
To remove this duplicate index, execute:
ALTER TABLE test.ex_area DROP INDEX idx_two_code;