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 (
    47592, 5478, 6371, 47652, 1751, 461, 
    5960, 5957, 34548, 5999, 5961, 4363, 
    5956, 4361, 5451, 46696, 5479, 4366, 
    4360, 1752, 5485, 47610, 41410, 41010, 
    5963, 41411, 5447, 4365, 47605, 48279, 
    47606, 5469
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00669

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": 46,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (47592,5478,6371,47652,1751,461,5960,5957,34548,5999,5961,4363,5956,4361,5451,46696,5479,4366,4360,1752,5485,47610,41410,41010,5963,41411,5447,4365,47605,48279,47606,5469) 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
461 co-vua-premium 110/212
1751 dai-chuom-lung-bung-thao-duoc-lam-nong-bang-dien 103/183
1752 tui-chuom-dau-goi-thao-duoc-lam-nong-bang-dien 103/183
4360 mo-hinh-thuyen-lucky-mai-cheo-c250.t7-canh-buom-vai 105/191
4361 mo-hinh-thuyen-lucky-mai-cheo-c250.t5-canh-buom-lich-12-to 105/191
4363 mo-hinh-thuyen-lucky-c300.t9-tren-song-epoxy-canh-buom-doi-vai 105/191
4365 mo-hinh-thuyen-lucky-l380.t4-de-mica-canh-buom-doi-vai 105/191
4366 mo-hinh-thuyen-lucky-c250.t9-tren-song-epoxy-canh-buom-vai 105/191
5447 mo-hinh-du-thuyen-lucky-l600.t6-canh-buom-vai-de-go-mica 105/191
5451 mo-hinh-du-thuyen-buom-lucky-l600.s1-luot-song-den-led 105/191
5469 mo-hinh-du-thuyen-lucky-c300.t7-de-go-lim-canh-buom-vai 105/191
5478 mo-hinh-thuyen-lucky-c250.t6-mai-cheo-canh-buom-lich 105/191
5479 mo-hinh-thuyen-lucky-c250.t6-mai-cheo-canh-buom-lich-vi 105/191
5485 mo-hinh-thuyen-lucky-c200.t7-luot-song-resin-epoxy-canh-buom-vai 105/191
5956 mau-c250.p4-canh-buom-in-chu-thu-phap-tranh-mo-hinh-thuyen-lucky 105/191
5957 mau-c250.p4-canh-buom-in-tranh-chu-tranh-mo-hinh-thuyen-lucky 105/191
5960 bo-3-mau-c250.p7-canh-buom-in-chu-thu-phap-tranh-mo-hinh-thuyen-lucky 105/191
5961 bo-3-mau-c250.p4-canh-buom-in-tranh-chu-tranh-mo-hinh-thuyen-lucky 105/191
5963 mau-l380.p1-canh-buom-in-chu-thu-phap-tranh-mo-hinh-thuyen-lucky 105/191
5999 hoa-hong-dai-tranh-hoa-giay-25-x-25 101/166
6371 hop-qua-stay-healthy 412
34548 set-qua-nha-oha-don-tet 110/213
41010 chim-lac-tranh-bac-dau 105/194
41410 khuy-mang-set-bac-trong-dong 99/150
41411 ghim-kep-ca-vat-chim-lac 110/209
46696 tranh-hoa-giay-handmade-trang-tri-hoa-linh-lan-maypaperflower-khung-tranh-go-size-20x25cm-vi 101/166
47592 tranh-hoa-giay-handmade-trang-tri-tem-hoa-sen-maypaperflower-khung-tranh-go-size-20x25cm 101/166
47605 tranh-hoa-giay-handmade-trang-tri-hoa-billy-ball-maypaperflower-khung-tranh-go-size-15-x-20cm-vi 101/166
47606 tranh-hoa-giay-handmade-trang-tri-khe-cham-maypaperflower-khung-go-size-30-x-40cm-vi 101/166
47610 tranh-hoa-giay-handmade-trang-tri-the-pink-rose-maypaperflower-khung-go-size-20x25cm 101/166
47652 hop-qua-ba-mien-moc-truly-hues-2023-mon-qua-co-do-moc-truly-hue 110/213
48279 nu-go-khoi-thom-ngoc-am-ha-giang-cao-cap-healiverse 103/184