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 (
    27857, 32752, 32753, 32754, 32755, 32756, 
    45640, 45641, 45642, 45643, 45644, 
    45645
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'vi'

Query time 0.00127

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": 12,
          "filtered": 100,
          "index_condition": "cscart_seo_names.object_id in (27857,32752,32753,32754,32755,32756,45640,45641,45642,45643,45644,45645) 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
27857 nen-bi-ngo-halloween-vi 101/169
32752 nen-bi-ngo-halloween-vi-2 101/169
32753 nen-bi-ngo-halloween-vi-3 101/169
32754 nen-bi-ngo-halloween-vi-4 101/169
32755 nen-bi-ngo-halloween-vi-5 101/169
32756 nen-bi-ngo-halloween 101/169
45640 nen-bi-ngo-halloween-vi-11 101/169
45641 nen-bi-ngo-halloween-vi-7 101/169
45642 nen-bi-ngo-halloween-vi-6 101/169
45643 nen-bi-ngo-halloween-vi-10 101/169
45644 nen-bi-ngo-halloween-vi-9 101/169
45645 nen-bi-ngo-halloween-vi-8 101/169