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 (
    5411, 2136, 2502, 2961, 41421, 2132, 
    38558, 3168, 3663, 40452, 2294, 1123, 
    3170, 36746, 6211, 4072, 27362, 2513, 
    3781, 2133, 2508, 39613, 2966, 40454, 
    36399, 2135, 2087, 40453, 2507, 49265, 
    3859, 21065
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.01621

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": 39,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (5411,2136,2502,2961,41421,2132,38558,3168,3663,40452,2294,1123,3170,36746,6211,4072,27362,2513,3781,2133,2508,39613,2966,40454,36399,2135,2087,40453,2507,49265,3859,21065) 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
1123 combo-3-san-pham-cham-soc-da 102/178
2087 hmong-bag-s-tui-tote-tu-vai-gai-dau-size-nho 100/155
2132 bia-belgo-cherry-10-ibu 96/120
2133 bia-belgo-session-ipa-40-ibu 96/120
2135 bia-belgo-wit-17-ibu 96/120
2136 bia-belgo-artisan-pilsner-21-ibu 96/120
2294 nuoc-gao-nep-len-men 96/120
2502 nuoc-tao-len-men-dalat-cider-house-vi-qua-mong 96/121
2507 bia-craft-east-west-pale-ale-chai-330ml 96/120
2508 bia-craft-east-west-pale-ale-lon-330ml 96/120
2513 bia-craft-summer-hefeweizen-chai-330ml 96/120
2961 bia-craft-te-te-serious-ipa 96/120
2966 bia-craft-chai-te-te-white-ale 96/120
3168 tui-dung-laptop-det-nilon-tai-che 100/159
3170 tui-det-nhieu-ngan-tu-nilon-tai-che-size-l 100/157
3663 hop-qua-tang-nen-thom-kem-de-resin-lat-cam 110/210
3781 tui-hop-tron-theu-hoa-huong-duong-tu-jeans-tai-che 100/157
3859 tuong-gom-su-ho-nham-dan-con-duc-mau-vang 101/166
4072 tui-tote-len-caro-hong-tim 100/155
5411 tui-trong-ngan-tu-jeans-tai-che-size-20 100/157
6211 giay-bup-be-da-that-mary-jane 98/317
21065 hard-soda-vi-xoai 96/120
27362 bo-hoa-and-hoa-goc-tranh-hoa-kho-dang-chu-nhat 101/165
36399 bao-goi-om-cotton-cao-cap 101/163
36746 binh-giu-nhiet-tre 101/340
38558 tui-african-flower 100/155
39613 bat-lua-o-gach-hop-quet-boc-da-hoa-tiet-ve-tay 105/195
40452 bat-lua-mat-than-hop-quet-boc-da-hoa-tiet-ve-tay-vi 99/153
40453 bat-lua-ho-moc-them-canh-hop-quet-boc-da-hoa-tiet-ve-tay 99/153
40454 bat-lua-trong-dong-hop-quet-boc-da-hoa-tiet-ve-tay-vi 99/153
41421 animal-khan-lua-to-tam-twilly 98/318
49265 vi-da-mini-cho-nu 100/160