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 (
    18508, 18520, 18481, 19942, 19936, 19937, 
    19938, 19939, 19940, 19941
  ) 
  AND cscart_seo_names.type = "p" 
  AND cscart_seo_names.dispatch = "" 
  AND cscart_seo_names.lang_code = 'en'

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.02005942,
    "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": 10,
          "cost": 0.02005942,
          "filtered": 100,
          "attached_condition": "cscart_seo_names.object_id in (18508,18520,18481,19942,19936,19937,19938,19939,19940,19941) 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
18481 test 317/319/471
18508 chaz-kangeroo-hoodie 317/319
18520 chaz-kangeroo-hoodie-en 317/319
19936 test-product-101 317/325/484
19937 test-product-101-en 317/325/484
19938 test-product-101-en-2 317/325/484
19939 test-product-101-en-3 317/325/484
19940 test-product-101-en-4 317/325/484
19941 test-product-101-en-5 317/325/484
19942 test-101 317/325/485