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 (
    417156, 412957, 447950, 452843, 421121, 
    421884, 451854, 423912, 449116, 421546, 
    415507, 439646
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.0237706,
    "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"],
          "loops": 1,
          "rows": 12,
          "cost": 0.0237706,
          "filtered": 100,
          "attached_condition": "cscart_seo_names.object_id in (417156,412957,447950,452843,421121,421884,451854,423912,449116,421546,415507,439646) and cscart_seo_names.`type` = 'p' and cscart_seo_names.dispatch = '' and cscart_seo_names.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

product_id seo_name seo_path
412957 classic-bottle-434 287/288/289
415507 classic-bottle-958 287/304/305
417156 classic-bottle-429 203/500
421121 classic-bottle-614 287/304/305
421546 classic-bottle-905 287/288/289
421884 classic-bottle-634 219/495
423912 classic-bottle-870 203/500
439646 classic-bottle-980 219/498
447950 classic-bottle-469 219/495
449116 classic-bottle-892 287/304/305
451854 classic-bottle-766 219/498
452843 classic-bottle-545 287/288/289