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 (
    2131, 6576, 40154, 6529, 2130, 40148, 
    2512, 1437, 40455, 27350, 40142, 211, 
    48071, 6534, 6535, 2137, 31651, 5815, 
    21600, 31786, 2129, 2255, 3451, 26854, 
    2509, 5920, 1712, 26864, 26846, 2302, 
    50233, 48844
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.02086

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": 37,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (2131,6576,40154,6529,2130,40148,2512,1437,40455,27350,40142,211,48071,6534,6535,2137,31651,5815,21600,31786,2129,2255,3451,26854,2509,5920,1712,26864,26846,2302,50233,48844) 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
211 hop-12-thanh-socola 95/114
1437 op-lung-van-go 99/152
1712 ca-phe-xuan-thi-blend-robusta-and-arabica 96/123
2129 ca-phe-origin-100-robusta 96/123
2130 ca-phe-origin-magic-blend 96/123
2131 bia-belgo-blonde-19-ibu 96/120
2137 belgo-royale-tripel 96/120
2255 tui-da-chu-nhat-dung-deo-cheo-mau-sac-va-chat-lieu-da-da-dang 100/154
2302 nen-thom-deforest-symphony-216gr 101/169
2509 bia-craft-far-east-ipa-chai-330ml 96/120
2512 bia-craft-pacific-pilsner-lon-330ml 96/120
3451 bia-mekong-bumble-basil 96/120
5815 hop-qua-ca-phe-phin-vietnam 95/119
5920 socola-bot-gung-hop-10-goi 96/124
6529 tom-dat-kho-thuong-hang-tom-kho-ca-mau 95/118
6534 kho-ca-loc-dong-ca-mau 95/118
6535 kho-ca-sac-ca-mau 95/118
6576 serum-sang-da-mo-tham-cho-nam 102/178
21600 combo-bia-nhung-huong-vi-tuyen-chon-belgo 96/120
26846 lady-mat-ong-cao-thao-duoc-danh-rieng-cho-nu 95/117
26854 mat-ong-chin-hoa-xuyen-chi 95/117
26864 mat-ong-nguyen-chat-rung-nhiet-doi 95/117
27350 ca-phe-ethiopia-aster-dekeme 96/123
31651 bot-nhau-nguyen-chat 96/124
31786 nen-thom-khac-ten-size-m-bac-go 101/169
40142 bo-suu-tap-co-gai-nghe-thuat-1-bat-lua-cricket 105/195
40148 bo-suu-tap-nghe-thuat-1-bat-lua-cricket 99/153
40154 bat-lua-mini-nghe-thuat-don-gian 105/195
40455 bat-lua-vinh-hoa-hop-quet-boc-da-hoa-tiet-ve-tay-vi 99/153
48071 socola-muoi-bien-phu-quoc-and-nam-truffle-68-bittersweet-chocolatier 95/114
48844 bat-lua-mat-than-boc-da-hoa-tiet-ve-tay-nho-bat-lua-nghe-thuat-hop-quet-nghe-thuat-phu-kien-da-qua-tang-doc-dao-qua-tang-ca-nhan-hoa 99/153
50233 tui-tote-canvas-pickleball 100/155