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 (
    48848, 49397, 49398, 49663, 49400, 49540, 
    49399, 49503, 49501, 49550, 49502, 
    49543, 49383, 49541, 49542, 49504, 
    49547, 49664, 49549, 49661, 49665, 
    49666, 49551, 49604, 49548, 50147, 
    49662, 50218, 49572, 50219, 50220
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00928

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": 31,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (48848,49397,49398,49663,49400,49540,49399,49503,49501,49550,49502,49543,49383,49541,49542,49504,49547,49664,49549,49661,49665,49666,49551,49604,49548,50147,49662,50218,49572,50219,50220) 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
48848 bat-lua-ly-long-xanh-boc-da-hoa-tiet-ve-tay-bat-lua-nghe-thuat-hop-quet-nghe-thuat-phu-kien-da-qua-tang-doc-dao-qua-tang-ca-nhan-hoa 99/153
49383 bat-lua-cuu-ngu-hoi-thuy-boc-da-ve-tay 99/153
49397 bat-lua-song-boc-da-ve-tay 99/153
49398 bat-lua-ly-long-do-boc-da-ve-tay-phong-cach-co-dien 99/153
49399 bat-lua-ly-long-xanh-boc-da-ve-tay-phong-cach-co-dien 99/153
49400 bat-lua-ly-long-den-boc-da-ve-tay-phong-cach-co-dien 99/153
49501 bat-lua-long-boc-da-ve-tay-phong-cach-co-dien 110/209
49502 bat-lua-lan-boc-da-ve-tay-co-dien 99/153
49503 bat-lua-quy-boc-da-hoa-tiet-ve-tay-co-dien 99/153
49504 bat-lua-phung-boc-da-ve-tay-phong-cach-co-dien 99/153
49540 bat-lua-cerberus-nguyen-to-lua-boc-da-ve-tay 99/153
49541 bat-lua-hydra-nguyen-to-nuoc-boc-da-ve-tay 99/153
49542 bat-lua-nemean-boc-da-ve-tay 99/153
49543 bat-lua-pegasus-nguyen-to-khi-boc-da-ve-tay 99/153
49547 bat-lua-duong-phi-cao-son-boc-da-ve-tay 99/153
49548 bat-lua-hung-suu-dai-dia-boc-da-ve-tay 99/153
49549 bat-lua-linh-mao-toa-son-boc-da-ve-tay 99/153
49550 bat-lua-long-vu-cuu-thien-boc-da-ve-tay-vi 99/153
49551 bat-lua-manh-ho-son-boc-da-ve-tay 99/153
49572 bat-lua-hoat-hinh-ve-tay-khac-ten-theo-yeu-cau 99/153
49604 bat-lua-minh-dau-tinh-ky-boc-da-ve-tay 99/153
49661 bat-lua-ngoc-ty-chi-loc-boc-da-ve-tay 99/153
49662 bat-lua-phu-hoi-an-thai-boc-da-ve-tay 99/153
49663 bat-lua-tinh-ngo-son-cu-boc-da-ve-tay 99/153
49664 bat-lua-tinh-than-quan-canh-boc-da-ve-tay 99/153
49665 bat-lua-tinh-tuat-tu-tai-boc-da-ve-tay 99/153
49666 bat-lua-xa-hanh-phong-thuy-boc-da-ve-tay-bat-lua-nghe-thuat-hop-quet-nghe-thuat-phu-kien-da-qua-tang-doc-dao-qua-tang-ca-nhan-hoa 99/153
50147 bat-lua-da-hoa-tiet-one-piece-khac-ten 110
50218 bat-lua-phung-hoang-boc-da-ve-tay 99/153
50219 bat-lua-tien-hac-boc-da-ve-tay 99/153
50220 bat-lua-khong-tuoc-boc-da-ve-tay 99/153