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 (
    45360, 23044, 502, 27002, 46548, 41123, 
    23017, 26871, 1895, 47015, 1715, 26898, 
    26889, 44858, 26897, 23047, 26876, 
    47657, 40441, 5994, 47654, 4512, 26870, 
    42111, 26893, 26874, 26878, 26888, 
    26885, 6360, 26875, 37095
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.01373

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": 35,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (45360,23044,502,27002,46548,41123,23017,26871,1895,47015,1715,26898,26889,44858,26897,23047,26876,47657,40441,5994,47654,4512,26870,42111,26893,26874,26878,26888,26885,6360,26875,37095) 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
502 nen-tru-trang-tri 101/169
1715 set-ca-phe-diu-nhe 96/123
1895 but-go-huyet-long-khac-ten-kem-hop 106/196
4512 buu-thiep-ca-phe-phin 106/199
5994 kombucha-chanh-day-hoa-lai 96/121
6360 hop-qua-espres-sinnamon 412
23017 son-duong-handmade 102/175
23044 nen-thom-concrete 101/169
23047 nen-thom-cupcake 101/169
26870 metal-nen-phong-thuy-he-kim 101/169
26871 wood-nen-phong-thuy-he-moc 101/169
26874 earth-nen-phong-thuy-he-tho 101/169
26875 nen-thom-chanh-sa 101/169
26876 nen-thom-hoa-lai 101/169
26878 nen-thom-go-teak 101/169
26885 set-4-nen-macaron 101/169
26888 nen-luc-giac 101/169
26889 nen-tru-hinh-tim 101/169
26893 nen-banh-muffin 101/169
26897 nen-vo-so-lon 101/169
26898 de-nen-chu-de-bien-kem-nen-tealight 101/169
27002 nen-xuong-rong 101/169
37095 nen-thom-trang-tri-vom-mau-nau 101/169
40441 than-moc-chia-khoa-da-ve-tay-bst-12-con-giap-vi 99/149
41123 khan-lua-mockingbird 98/318
42111 thanh-socola-sua-dua-nhieu-vi-vi 95/114
44858 bo-qua-tang-2-chai-gel-tam-lon 102/174
45360 nen-thom-hinh-vom-mau-trang-trang-tri-dam-cuoi 101/169
46548 nen-thom-hu-vintage-size-s-vi-6 101/169
47015 nhan-thep-nu-hon-mau-vang-bst-nhan-da-hoi-hoa 99/141
47654 hop-qua-huong-xuan-moc-truly-hues-2023-mon-qua-co-do-moc-truly-hue 110/213
47657 hop-qua-vi-tet-moc-truly-hues-2023-mon-qua-co-do-moc-truly-hue 110/213