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 (
    49012, 6370, 3288, 49164, 47903, 49230, 
    28159, 43817, 48846, 1894, 23152, 47631, 
    1533, 6372, 49873, 6358, 6357, 41345, 
    41341, 35279, 25318, 47597, 47084, 
    5787, 1767, 3866, 5503, 18608, 2140, 
    2139, 5987, 42255
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.01550

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": 40,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (49012,6370,3288,49164,47903,49230,28159,43817,48846,1894,23152,47631,1533,6372,49873,6358,6357,41345,41341,35279,25318,47597,47084,5787,1767,3866,5503,18608,2140,2139,5987,42255) 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
1533 tinh-nghe-vang 95/118
1767 but-bi-tre-khac-logo 106/196
1894 but-go-sua-khac-ten-kem-hop 106/196
2139 com-chay-cha-bong 95/116
2140 oi-tran-chau-say-deo-hoa-qua-say-lanh 95/111
3288 set-6-vi-tieu-hop-go-nap-gap 95/119
3866 tuong-heo-lon-gom-sanh-mau-nau-bst-gia-dinh-heo 101/166
5503 kombucha-blue-magic 96/121
5787 hop-6-vien-chocolate-mendiant 95/114
5987 nam-huong-say-gion-vi-toi-ot 95/116
6357 hop-qua-wellness 412
6358 hop-qua-snack-and-tea 95/119
6370 hop-qua-honey-tea-nuts 95/119
6372 hop-qua-nice-night 412
18608 bao-goi-lua-satin-cao-cap-that-no-50-x-70cm 98/318
23152 dua-go-trac 101/340
25318 khung-go-luc-giac-trang-tri-bup-be-co-dau-chu-re 105/193
28159 set-qua-hat-tieu-hop-tre-lon 95/119
35279 ly-giu-nhiet-khac-ten 110/315/321
41341 xe-bap-xao-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-sai-gon 105/191
41345 hat-tieu-do 95/118
42255 nen-thom-in-loi-nhan-bi-mat-size-m-bac-go 101/169
43817 bo-qua-tang-tu-tre-khac-chu-theo-yeu-cau-binh-giu-nhiet-va-ly-tre 110/212
47084 moc-chia-khoa-dap-ten-bang-da-bo 99/149
47597 tranh-hoa-giay-handmade-trang-tri-hoa-sen-thu-phap-maypaperflower-khung-tranh-go-size-25x25cm 101/166
47631 tranh-hoa-giay-handmade-trang-tri-hoa-sen-ket-hop-giay-do-maypaperflower-khung-tranh-go-size-25x25cm 101/166
47903 hop-qua-tet-atiso-huu-co-combo-3-lartis-farm 95/214
48846 bat-lua-ly-long-mau-do-boc-da-ve-tay-bat-lua-nghe-thuat-hop-quet-nghe-thuat-phu-kien-da-qua-tang-doc-dao-qua-tang-ca-nhan-hoa 99/153
49012 hop-qua-minty-box-hop-qua-thu-gian-hop-qua-cham-soc-ban-than-qua-tang-mui-huong-goi-chuom-thao-moc-xit-thom-vai-va-khong-gian 412
49164 so-tay-bia-vai-handmade-phien-ban-gioi-han-chus-x-pilgrim-notebook 106/197
49230 bo-qua-tang-am-tra-luc-giac-xanh-pha-le-bst-crystal-green-mon-qua-tan-gia-hoan-hao-cho-moi-nha 101/313
49873 goi-chuom-mat-oai-huong 103/184