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 (
    6126, 61, 62, 41831, 6539, 6162, 6163, 
    26930, 6168, 26931, 6167, 47905, 47164, 
    31666, 6160, 47900, 6166, 29740, 29738, 
    26967, 44761, 26932, 26866, 47901, 
    6161, 29742, 29741, 6096, 28243, 28244, 
    43663, 6190
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00380

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 (6126,61,62,41831,6539,6162,6163,26930,6168,26931,6167,47905,47164,31666,6160,47900,6166,29740,29738,26967,44761,26932,26866,47901,6161,29742,29741,6096,28243,28244,43663,6190) 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
61 hat-tieu-rung-den 95/118
62 gia-vi-say-kho 95/118
6096 que-thanh-huu-co-cinna-kitchen 95/118
6126 bo-hat-dieu-min 95/118
6160 bot-hoi-huu-co-vi 95/118
6161 que-thanh-huu-co 95/118
6162 bot-que-huu-co-vi 95/118
6163 bot-ot-huu-co-vi 95/118
6166 tieu-so-huu-co 95/118
6167 bot-tieu-huu-co 95/118
6168 bot-nghe-huu-co-vi 95/118
6190 que-thanh-hop-150g 95/118
6539 banh-phong-mon-ca-mau 95/118
26866 tinh-nghe-vang-vi 95/118
26930 xot-ca-chua-pomodoro 95/118
26931 xot-thit-bo 95/118
26932 xot-thit-heo 95/118
26967 muoi-tieu-ot-tay-ninh 95/118
28243 nuoc-cot-muoi-vi 95/118
28244 muoi-ot-vi 95/118
29738 xot-bun-bo 95/118
29740 xot-hu-tieu 95/118
29741 xot-lau-thai 95/118
29742 xot-uop-do-nuong 95/118
31666 ot-re-ngam-mam 95/118
41831 dau-dau-phong-nguyen-chat 95/118
43663 sot-teriyaki-thuan-chay-cho-mon-xao-va-kho 95/118
44761 giam-mo-tra-xanh-dac-san-nam-dinh-vi-2 95/118
47164 nuoc-mam-tin-rin-nhan-do-do-dam-40n 95/118
47900 set-tuong-ot-sieu-cay-3-vi-chai-120ml-love-and-spice 95/118
47901 set-tuong-ot-sieu-cay-3-vi-chai-60ml-love-and-spice 95/118
47905 nam-meo-kho-poco-nam-linh-chi-gaco 95/118