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 (
    6552, 6553, 1784, 31626, 83, 33720, 46749, 
    729, 6545, 81, 18748, 2254, 35187, 227, 
    6097, 33697, 2258, 1532, 6100, 40760, 
    43797, 332, 992, 1838, 1056, 5730, 141, 
    79, 2460, 5723, 5998, 5277
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.01039

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": 42,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (6552,6553,1784,31626,83,33720,46749,729,6545,81,18748,2254,35187,227,6097,33697,2258,1532,6100,40760,43797,332,992,1838,1056,5730,141,79,2460,5723,5998,5277) 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
79 tra-olong-tui-gam 96/122
81 tra-lai-tui-loc-24-goi 96/122
83 tra-gao-lut-tui-loc-24-goi 96/122
141 bot-cacao-tu-nhien 96/124
227 tinh-dau-giam-cang-thang 103/181
332 dau-tam-thao-moc 102/174
729 tui-tote-hoa-tiet-thai 100/156
992 vong-co-and-bong-tai-deep-blue 99/144
1056 vi-dung-ho-chieu-da-bo-that-2-lop-tui 100/160
1532 tinh-nghe-den 95/118
1784 bo-am-tra-gom-su-y-thanh 101/313
1838 giay-tho-cam 98/317
2254 day-deo-dong-ho-apple-watch-da-moc-mau-sac-va-chat-lieu-da-da-dang 99/152
2258 tui-da-khong-khau-deo-cheo-hoa-tiet-dan-cheo-mau-sac-va-chat-lieu-da-da-dang 100/154
2460 nen-thom-que-and-cam 101/169
5277 tra-the-mind-tui-zip-10g 96/122
5723 khan-linen-theu-tay 105/193
5730 balo-rut-linen-mau-nau-theu-tay 100/158
5998 hoa-dien-vi-tranh-hoa-giay-25-x-25 101/166
6097 tra-kombucha-xxxam-dua-250ml 96/121
6100 tra-kombucha-bup-giam-250ml 96/121
6545 hop-qua-an-lanh-3-tom-dat-kho-cu-kieu-banh-phong-tom 95/119
6552 tra-hoa-tan-gung-chanh-sa 96/122
6553 tra-hoa-tan-rau-om-tia 96/122
18748 goi-maa-ket-hop-vai-bong-va-vai-gai-dau 101/163
31626 tra-hoa-dau-biec-tra-hoa-thien-nhien 96/122
33697 tram-cai-toc-go-resin-dau-hinh-tron-luon 99/145
33720 ao-khoac-nhung-dang-dai-xanh-emerald 98/317
35187 tui-luc-binh-summer-beach-quai-da 100/156
40760 nuoc-mam-cot-nhi-ca-com-750ml-vi 95/118
43797 tra-mix-the-journey 96/122
46749 bao-da-dung-ho-chieu-02 100/154