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 (
    41341, 41340, 47922, 47921, 41343, 47896, 
    47924, 47923, 41339, 35829, 2085, 35792, 
    637, 31872, 35855, 33606, 47895, 47280, 
    48032, 48322, 48033, 48037, 48031, 
    48034, 48036, 48035, 47095, 48323, 
    47096, 48324, 47092, 47094
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.01358

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": 32,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (41341,41340,47922,47921,41343,47896,47924,47923,41339,35829,2085,35792,637,31872,35855,33606,47895,47280,48032,48322,48033,48037,48031,48034,48036,48035,47095,48323,47096,48324,47092,47094) 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
637 bo-gau-co-dau-chu-re 105/193
2085 mo-hinh-banh-mi-hinh-thu-de-thuong-chong-chat 105/191
31872 bup-be-moc-len-hana-ao-dai 105/191
33606 bo-tuong-gia-dinh-cho-bang-gom 105/191
35792 bo-tuong-gia-dinh-ca-bang-gom-vi-10 105/191
35829 bo-tuong-gia-dinh-meo-bang-gom-vi-6 105/191
35855 tuong-meo-gom-phu-men-khac-hoa-day-vi-4 105/191
41339 xe-hu-tiu-go-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-sai-gon 105/191
41340 xe-ca-vien-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-sai-gon 105/191
41341 xe-bap-xao-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-sai-gon 105/191
41343 xe-trai-cay-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-sai-gon 105/191
47092 mo-hinh-ngoi-nha-go-noel-ma-xmas-1011 105/191
47094 mo-hinh-ngoi-nha-go-noel-ma-xmas-1013 105/191
47095 mo-hinh-nha-tho-bang-go-ma-nt-0004 105/191
47096 mo-hinh-nha-tho-bang-go-ma-nt-0023 105/191
47280 chu-lun-thu-cong-bang-len-nha-an-hanoi 101/166
47895 xe-mi-tau-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-2-the-90s-diy 105/191
47896 xe-com-tam-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-2-the-90s-diy 105/191
47921 xe-nuoc-mia-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-2-the-90s-diy 105/191
47922 xe-che-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-2-the-90s-diy 105/191
47923 xe-banh-tieu-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-2-the-90s-diy 105/191
47924 xe-xoi-ngot-nam-cham-hit-tu-lanh-bst-xe-day-hang-rong-2-the-90s-diy 101/166
48031 tet-2024-ca-chep-may-man-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/211
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
48034 tet-2024-hoa-dang-long-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/213
48035 tet-2024-moc-dang-long-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/211
48036 tet-2024-long-nhi-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/213
48037 tet-2024-lan-su-rong-bo-kit-tu-lam-tranh-ghep-gom-cho-be-quang-minh-mosaic 110/213
48322 nam-cham-mo-hinh-xe-banh-mi-viet-nam-bst-little-viet-nam-nha-tin 105/191
48323 nam-cham-mo-hinh-xe-hu-tiu-bst-little-viet-nam-nha-tin 105/191
48324 nam-cham-mo-hinh-xe-nuoc-mia-bst-little-viet-nam-nha-tin 105/191