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 (
    22172, 2873, 2854, 22268, 1942, 2857, 
    22214, 1945, 22263, 2859, 1946, 44946, 
    44943, 44944, 44947, 47974, 44945, 
    44281
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00391

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": 24,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (22172,2873,2854,22268,1942,2857,22214,1945,22263,2859,1946,44946,44943,44944,44947,47974,44945,44281) 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
1942 tat-vo-cao-co-theu-tay 98/317
1945 khung-hinh-theu-hai-mat 105/193
1946 tat-vo-co-ngan-theu-tay 98/317
2854 khung-tranh-theu-tay-net-dep-van-vat-dat-theo-yeu-cau 105/193
2857 khung-tranh-theu-tay-dem-huyen-bi 105/193
2859 khung-tranh-theu-tay-khu-rung-nhiet-doi-dat-theo-yeu-cau 105/193
2873 mu-noi-theu-vi 105/193
22172 khan-turban-theu-vintage-3-trong-1 99/146
22214 day-cot-toc-theu 99/145
22263 vong-tay-theu 99/142
22268 the-danh-dau-trang-theu 106/197
44281 day-cot-toc-linen-no-dai-theu-thu-cong 99/145
44943 dam-linen-theu-thu-cong 98/317
44944 dam-yem-theu-thu-cong 98/317
44945 dam-linen-nut-go-theu-thu-cong 98/317
44946 bo-ao-and-vay-linen-theu-thu-cong 98/317
44947 ao-linen-co-chu-v-theu-thu-cong 98/317
47974 goi-theu-tay-em-theu 103/183