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 (
    33702, 2157, 1519, 45357, 1895, 47654, 
    5832, 47601, 1586, 47658, 3388, 37304, 
    38143, 5837, 27357, 38152, 27358, 40824, 
    49306, 27360, 2471, 41170, 1429, 5834, 
    27362, 6560, 36399, 6561, 4894, 1042, 
    1534, 41231
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.01062

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": 36,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (33702,2157,1519,45357,1895,47654,5832,47601,1586,47658,3388,37304,38143,5837,27357,38152,27358,40824,49306,27360,2471,41170,1429,5834,27362,6560,36399,6561,4894,1042,1534,41231) 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
1042 tui-macrame-hoa-van-cheo-luon-song 100/156
1429 khan-choang-lua-vuong 98/318
1519 nen-thom-amber-glass 101/169
1534 bot-mam-dau-den 96/124
1586 bo-mut-non-3-mien 95/111
1895 but-go-huyet-long-khac-ten-kem-hop 106/196
2157 khan-lua-vuong-don-sac-mau-hong-cam 98/318
2471 xit-ngu-ngon-still 101/163
3388 bot-sen-go-nguyen-chat-lanh-khong-duong-dac-san-phu-yen 96/124
4894 set-qua-tang-hmong-muoi-ngam-chan-xa-bong-thao-duoc-3-lo-tinh-dau 110/210
5832 kefir-soda-dao-mo 96/121
5834 kefir-soda-tao-gung 96/121
5837 combo-6-chai-must-try-kefir-soda 96/121
6560 tui-chuom-thu-gian-co-huong-thom-vi 103/183
6561 tui-chuom-thu-gian-khong-huong 103/183
27357 hoa-vien-tranh-hoa-kho-dang-chu-nhat 101/165
27358 hoa-co-moc-mac-tranh-hoa-kho-dang-chu-nhat 101/165
27360 hoa-trai-tim-tranh-hoa-kho-dang-chu-nhat 101/165
27362 bo-hoa-and-hoa-goc-tranh-hoa-kho-dang-chu-nhat 101/165
33702 tram-cai-toc-go-resin-dau-vuong 99/145
36399 bao-goi-om-cotton-cao-cap 101/163
37304 tram-cai-toc-go-tua-rua-hoa-hong 99/145
38143 tui-tote-thai-xanh-phoi-trang 100/155
38152 khan-thai-xop 99/146
40824 goi-chuom-mat-huong-thao 103/184
41170 nuoc-mam-cot-nhi-ca-com-250ml 95/118
41231 guong-theu-tay-summer-fruit-vi 105/193
45357 nen-thom-phong-ngu-thu-gian-khong-khoi-hop-thiec-mau-vang 101/169
47601 tranh-hoa-giay-handmade-trang-tri-hoa-sao-nhai-maypaperflower-khung-go-size-19-x-19cm-vi 101/166
47654 hop-qua-huong-xuan-moc-truly-hues-2023-mon-qua-co-do-moc-truly-hue 110/213
47658 hop-qua-tet-khoi-nien-the-joy-box 95/119
49306 bao-da-dung-ho-chieu-01 100/154