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 (
    41594, 2460, 43670, 20588, 3437, 2018, 
    2443, 2497, 5416, 5418, 2911, 3196, 
    1661, 3223, 4074, 14985, 1056, 2466, 
    5402, 3747, 2465, 1875, 1098, 3990, 
    4192, 33703, 2081, 4883, 37282, 2016, 
    2575, 2469
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00726

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 (41594,2460,43670,20588,3437,2018,2443,2497,5416,5418,2911,3196,1661,3223,4074,14985,1056,2466,5402,3747,2465,1875,1098,3990,4192,33703,2081,4883,37282,2016,2575,2469) 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
1056 vi-dung-ho-chieu-da-bo-that-2-lop-tui 100/160
1098 tui-theu-caro 100/155
1661 mat-na-ngu-duong-moi-hong-mem-min 102/172
1875 tui-canvas-day-mau-sac-dung-binh-nuoc-1-quai 100/157
2016 nuoc-hoa-white-camphor 102/176
2018 nuoc-hoa-huong-white-musk 102/176
2081 thu-nhoi-bong-cao-bam 107/215
2443 nuoc-hoa-da-lat-dreamers 102/176
2460 nen-thom-que-and-cam 101/169
2465 nen-thom-sai-gon-caphesuada 101/169
2466 nen-thom-des-blancs-fleurs 101/169
2469 nen-thom-osmanthus 101/169
2497 nen-thom-oai-huong-trang-tri-voi-hoa-kho 101/169
2575 nen-thom-childhood-memory-size-s 101/169
2911 nen-thom-hu-thuy-tinh-nhieu-mui 101/169
3196 nen-thom-sap-dau-nanh-thien-nhien-sa-chanh 101/169
3223 tui-dung-binh-nuoc-hoa-tiet-hoa-mau-xanh-la 100/157
3437 silver-pearl-necklace 99/144
3747 black-panther-len 107/215
3990 tui-tote-tho-cam-pesce 100/155
4074 tui-tote-len-caro-hong-xanh-duong 100/155
4192 hop-qua-nen-thom-huong-hoa-blooming 110/210
4883 nuoc-hoa-xit-toc-huong-tra-trang-va-trai-sung 102/176
5402 tui-bucket-theu-mot-mat-tu-jeans-tai-che-size-21 100/157
5416 tui-deo-cheo-dang-hop-theu-huong-duong-tu-jeans-tai-che 100/157
5418 balo-theu-tu-jeans-tai-che-size-20 100/158
14985 vong-co-gom-vintage 99/144
20588 vong-boho-hat-gom-su-nhieu-lop 99/142
33703 tram-cai-toc-go-resin-than-dieu-khac 99/145
37282 tram-cai-toc-go-hoang-de-phuong-linh-cam-mich-huc-phuong 99/145
41594 nen-thom-xanh 101/169
43670 bong-tai-son-mai-hinh-giot-nuoc-vua 99/143