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 (
    46714, 46196, 48032, 46195, 47367, 48033
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00344

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 (46714,46196,48032,46195,47367,48033) 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
46195 bo-kit-lam-tranh-ghep-gom-tai-nha-xuong-rong-tron-san-xuat-tai-bat-trang-viet-nam 110/211
46196 bo-kit-lam-tranh-ghep-gom-tai-nha-cay-thong-san-xuat-tai-bat-trang-viet-nam 105
46714 huou-cao-co-bo-kit-tu-lam-tranh-ghep-gom-tai-nha-cho-be 107/201
47367 hoa-tuyet-bo-kit-tu-lam-tranh-ghep-gom-tai-nha-cho-be-quang-minh-mosaic 107/201
48032 tet-2024-den-long-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/211
48033 tet-2024-meo-than-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/211