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 (
    48770, 42372, 43844, 43852, 43851, 42371
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00431

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": 6,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (48770,42372,43844,43852,43851,42371) 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
42371 hop-qua-luu-niem-da-thom-and-tinh-dau-mang-tang 110/212
42372 hop-qua-cuoi-da-thom-and-tinh-dau-oai-huong 110/213
43844 da-thom-ngoc-lan-hinh-thien-than-bay 103/182
43851 hop-qua-tang-ban-gai-cham-soc-da-and-lieu-phap-huong-thom 110/210
43852 hop-qua-tang-phu-nu-cham-soc-co-the-and-lieu-phap-huong-thom 110/210
48770 nuoc-hoa-xe-hoi-aeonian-arte-nuoc-hoa-o-to-nuoc-hoa-khu-mui-khu-mui-xe-hoi-thanh-loc-khong-khi-phu-kien-xe-hoi-qua-tang-thanh-lich 102/176