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 (
    3288, 1533, 41345, 5544, 3287, 3286, 
    65, 5543, 3289, 6181, 6093, 6180, 2183, 
    5546, 40761, 2182, 41170, 6533, 26927, 
    6550, 1786, 5973, 74, 6124, 6529, 6534, 
    26966, 6535, 26924, 26968, 6183, 26920
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00552

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 (3288,1533,41345,5544,3287,3286,65,5543,3289,6181,6093,6180,2183,5546,40761,2182,41170,6533,26927,6550,1786,5973,74,6124,6529,6534,26966,6535,26924,26968,6183,26920) 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
65 set-6-vi-hat-tieu 95/118
74 dau-an-omega-king-tu-hat-sacha-inchi 95/118
1533 tinh-nghe-vang 95/118
1786 dau-hat-macca-250ml 95/118
2182 ot-bam-co-toi 95/118
2183 tuong-ot 95/118
3286 hop-qua-ho-tieu-6-loai-tieu-kem-coi-xay-tieu 95/119
3287 set-hop-go-cac-loai-gia-vi 95/119
3288 set-6-vi-tieu-hop-go-nap-gap 95/119
3289 tieu-den-huu-co-100gr 95/118
5543 tuong-ot-xong-khoi-hue-way-hot 95/118
5544 tuong-ot-xong-khoi-saigon-sweetnspicy 95/118
5546 combo-3-chai-1-vi-tuong-ot-xong-khoi 95/118
5973 nuoc-cham-lau-nuong-va-hai-san 95/118
6093 the-journey-of-fragrance-bo-qua-tang-tinh-dau-thien-nhien 95/118
6124 bo-dau-phong 95/118
6180 que-bot-tui-500g 95/118
6181 que-bot-hop-100g 95/118
6183 que-ong-chua-cao-vo 95/118
6529 tom-dat-kho-thuong-hang-tom-kho-ca-mau 95/118
6533 kho-muc-ca-mau-loai-nho 95/118
6534 kho-ca-loc-dong-ca-mau 95/118
6535 kho-ca-sac-ca-mau 95/118
6550 tom-the-kho-thuong-hang-tom-kho-ca-mau 95/118
26920 muoi-ham 95/118
26924 muoi-tre-cao-cap-dang-da-vien-kem-coi-xay 95/118
26927 bo-dau-phong-nguyen-chat 95/118
26966 muoi-ot-tay-ninh 95/118
26968 muoi-nhuyen-tay-ninh 95/118
40761 nuoc-mam-cot-nhi-ca-com-750ml-hop-go-vi 95/118
41170 nuoc-mam-cot-nhi-ca-com-250ml 95/118
41345 hat-tieu-do 95/118