SELECT 
  pfv.variant_id, 
  pfv.position, 
  pfvd.variant 
FROM 
  cscart_product_feature_variants AS pfv 
  INNER JOIN cscart_product_feature_variant_descriptions AS pfvd ON pfv.variant_id = pfvd.variant_id 
  AND pfvd.lang_code = 'en' 
WHERE 
  pfv.variant_id IN (
    12528, 12544, 12545, 12537, 12541, 12542, 
    13064, 12543
  )

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.02841056,
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "loops": 1,
          "rows": 8,
          "cost": 0.01470144,
          "filtered": 100,
          "attached_condition": "pfv.variant_id in (12528,12544,12545,12537,12541,12542,13064,12543)"
        }
      },
      {
        "table": {
          "table_name": "pfvd",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["variant_id", "lang_code"],
          "ref": ["u508912950_dev_2025.pfv.variant_id", "const"],
          "loops": 8,
          "rows": 1,
          "cost": 0.01370912,
          "filtered": 100,
          "attached_condition": "pfvd.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

variant_id position variant
12528 0 Black
12537 0 Orange
12541 0 XS
12542 10 S
12543 20 M
12544 30 L
12545 40 XL
13064 0 Gray