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 (43823, 43830, 43831, 43832, 43833) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00114

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": 5,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (43823,43830,43831,43832,43833) 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
43823 hop-tra-co-thu-nhieu-loai-50g-tra-xanh-hong-tra-bach-tra-pho-nhi 96/122
43830 hop-tra-co-thu-nhieu-loai-50g-tra-xanh-hong-tra-bach-tra-pho-nhi-vi-3 96/122
43831 hop-tra-co-thu-nhieu-loai-50g-tra-xanh-hong-tra-bach-tra-pho-nhi-vi-4 96/122
43832 hop-tra-co-thu-nhieu-loai-50g-tra-xanh-hong-tra-bach-tra-pho-nhi-vi-2 96/122
43833 hop-tra-co-thu-nhieu-loai-50g-tra-xanh-hong-tra-bach-tra-pho-nhi-vi 96/122