SELECT 
  cscart_product_feature_variants.variant_id, 
  cscart_product_feature_variants.position, 
  cscart_product_feature_variants.color, 
  cscart_product_feature_variant_descriptions.variant 
FROM 
  cscart_product_feature_variants 
  LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variants.variant_id = cscart_product_feature_variant_descriptions.variant_id 
  AND cscart_product_feature_variant_descriptions.lang_code = 'en' 
WHERE 
  cscart_product_feature_variants.variant_id IN (
    12535, 12532, 12538, 12539, 12528, 13062, 
    13063, 12530, 12533, 12537, 12531, 
    12536
  ) 
ORDER BY 
  cscart_product_feature_variants.position ASC, 
  cscart_product_feature_variant_descriptions.variant ASC

Query time 0.00052

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.03894348,
    "filesort": {
      "sort_key": "cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant",
      "temporary_table": {
        "nested_loop": [
          {
            "table": {
              "table_name": "cscart_product_feature_variants",
              "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": "cscart_product_feature_variants.variant_id in (12535,12532,12538,12539,12528,13062,13063,12530,12533,12537,12531,12536)"
            }
          },
          {
            "table": {
              "table_name": "cscart_product_feature_variant_descriptions",
              "access_type": "eq_ref",
              "possible_keys": ["PRIMARY"],
              "key": "PRIMARY",
              "key_length": "9",
              "used_key_parts": ["variant_id", "lang_code"],
              "ref": [
                "u508912950_dev_2025.cscart_product_feature_variants.variant_id",
                "const"
              ],
              "loops": 12,
              "rows": 1,
              "cost": 0.01728688,
              "filtered": 100,
              "attached_condition": "trigcond(cscart_product_feature_variant_descriptions.lang_code = 'en')"
            }
          }
        ]
      }
    }
  }
}

Result

variant_id position color variant
13062 0 #e6b8af Beige
12528 0 #000000 Black
12530 0 #0000ff Blue
12539 0 #980000 Brown
12535 0 #00ff00 Green
13063 0 #666666 Grey
12531 0 #4a86e8 Light Blue
12537 0 #ff9900 Orange
12532 0 #ff00ff Pink
12533 0 #9900ff Purple
12538 0 #ff0000 Red
12536 0 #ffff00 Yellow