SELECT 
  cscart_seo_names.object_id AS product_id, 
  cscart_seo_names.name AS seo_name, 
  cscart_seo_names.path AS seo_path 
FROM 
  cscart_seo_names 
WHERE 
  cscart_seo_names.object_id IN (
    5578, 5472, 5457, 5588, 5462, 5579, 5590, 
    5478, 5580, 31887, 31891, 5960, 5957, 
    5961, 31894, 16802, 35733, 5448, 31893, 
    4363, 5956, 31895, 4361, 5451, 5479, 
    4366, 4360, 5591, 5485, 5587, 31889, 
    5963
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00201

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_seo_names",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "dispatch"],
          "key": "PRIMARY",
          "key_length": "206",
          "used_key_parts": ["object_id", "type", "dispatch", "lang_code"],
          "rows": 51,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (5578,5472,5457,5588,5462,5579,5590,5478,5580,31887,31891,5960,5957,5961,31894,16802,35733,5448,31893,4363,5956,31895,4361,5451,5479,4366,4360,5591,5485,5587,31889,5963) and cscart_seo_names.`type` = 'p' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'vi'"
        }
      }
    ]
  }
}

Result

product_id seo_name seo_path
4360 mo-hinh-thuyen-lucky-mai-cheo-c250.t7-canh-buom-vai 105/191
4361 mo-hinh-thuyen-lucky-mai-cheo-c250.t5-canh-buom-lich-12-to 105/191
4363 mo-hinh-thuyen-lucky-c300.t9-tren-song-epoxy-canh-buom-doi-vai 105/191
4366 mo-hinh-thuyen-lucky-c250.t9-tren-song-epoxy-canh-buom-vai 105/191
5448 mo-hinh-du-thuyen-buom-tren-bien-epoxy-lucky-l600.t5 105/191
5451 mo-hinh-du-thuyen-buom-lucky-l600.s1-luot-song-den-led 105/191
5457 mo-hinh-du-thuyen-lucky-l450.s1-luot-song-canh-buom-vai 105/191
5462 mo-hinh-thuyen-buom-lucky-c300.t12-canh-buom-vai 105/191
5472 mo-hinh-thuyen-buom-lucky-c300.t7-de-go-lim-canh-buom-vai 105/191
5478 mo-hinh-thuyen-lucky-c250.t6-mai-cheo-canh-buom-lich 105/191
5479 mo-hinh-thuyen-lucky-c250.t6-mai-cheo-canh-buom-lich-vi 105/191
5485 mo-hinh-thuyen-lucky-c200.t7-luot-song-resin-epoxy-canh-buom-vai 105/191
5578 bup-be-mam 105/191
5579 bup-be-sua 105/191
5580 bup-be-la 105/191
5587 trang-phuc-bup-be-mat 105/191
5588 trang-phuc-bup-be-mam 105/191
5590 trang-phuc-bup-be-la 105/191
5591 trang-phuc-bup-be-lac 105/191
5956 mau-c250.p4-canh-buom-in-chu-thu-phap-tranh-mo-hinh-thuyen-lucky 105/191
5957 mau-c250.p4-canh-buom-in-tranh-chu-tranh-mo-hinh-thuyen-lucky 105/191
5960 bo-3-mau-c250.p7-canh-buom-in-chu-thu-phap-tranh-mo-hinh-thuyen-lucky 105/191
5961 bo-3-mau-c250.p4-canh-buom-in-tranh-chu-tranh-mo-hinh-thuyen-lucky 105/191
5963 mau-l380.p1-canh-buom-in-chu-thu-phap-tranh-mo-hinh-thuyen-lucky 105/191
16802 mo-hinh-thuyen-buom-c300.t6-luot-song-canh-buom-vai 105/191
31887 bup-be-len-hana-hoa-lavender 105/191
31889 bup-be-len-hana-hoa-cam-tu-cau 105/191
31891 bup-be-len-hana-hoa-mau-don 105/191
31893 bup-be-len-hana-hoa-sen 105/191
31894 bup-be-len-hana-kho-mang-gui 105/191
31895 bup-be-len-hana-e-de-mang-gui 105/191
35733 khap-hu-dung-nuoc-hinh-canh-sen-bang-gom 105/191