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 (
    12566, 12568, 12794, 12779, 12775, 12796, 
    12798, 12532, 12537, 12530, 12528, 
    12531
  )

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.03894348,
    "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": 12,
          "cost": 0.0216566,
          "filtered": 100,
          "attached_condition": "pfv.variant_id in (12566,12568,12794,12779,12775,12796,12798,12532,12537,12530,12528,12531)"
        }
      },
      {
        "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": 12,
          "rows": 1,
          "cost": 0.01728688,
          "filtered": 100,
          "attached_condition": "pfvd.lang_code = 'en'"
        }
      }
    ]
  }
}

Result

variant_id position variant
12528 0 Black
12530 0 Blue
12531 0 Light Blue
12532 0 Pink
12537 0 Orange
12566 10 3ml
12568 30 10ml
12775 0 Porcelian
12779 0 Ivory
12794 0 Beige
12796 0 Mahagony
12798 0 Sand