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 = 'ar' 
WHERE 
  cscart_product_feature_variants.variant_id IN (
    1592, 1563, 2137, 5911, 4960, 1526, 2250, 
    4140, 2251, 2854, 2136, 5237, 2276, 
    1564, 4354, 5700, 2117, 8929, 2555
  ) 
ORDER BY 
  cscart_product_feature_variants.position ASC, 
  cscart_product_feature_variant_descriptions.variant ASC

Query time 0.00102

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "19.96"
    },
    "ordering_operation": {
      "using_temporary_table": true,
      "using_filesort": true,
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_product_feature_variants",
            "access_type": "range",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id"
            ],
            "key_length": "3",
            "rows_examined_per_scan": 19,
            "rows_produced_per_join": 19,
            "filtered": "100.00",
            "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_feature_variants`.`variant_id` in (1592,1563,2137,5911,4960,1526,2250,4140,2251,2854,2136,5237,2276,1564,4354,5700,2117,8929,2555))",
            "cost_info": {
              "read_cost": "11.41",
              "eval_cost": "1.90",
              "prefix_cost": "13.31",
              "data_read_per_join": "21K"
            },
            "used_columns": [
              "variant_id",
              "color",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_product_feature_variant_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "variant_id",
              "lang_code"
            ],
            "key_length": "9",
            "ref": [
              "softwarepirmam_hewadelivard_cscart_4.cscart_product_feature_variants.variant_id",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 19,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "4.75",
              "eval_cost": "1.90",
              "prefix_cost": "19.96",
              "data_read_per_join": "57K"
            },
            "used_columns": [
              "variant_id",
              "variant",
              "lang_code"
            ]
          }
        }
      ]
    }
  }
}

Result

variant_id position color variant
2555 0 13.5"
2250 0 15.6"
5237 0 16.1"
8929 0 17.3"
4960 0 HP
4140 1 Intel Core i3-1315U
2251 2 12th Gen Intel® Core™ i5-1235U (10 cores: 2 performance cores + 8 efficiency cores, up to 4.4 GHz)
2854 3 12th Gen Intel® Core™ i7‑1265U (Intel® Evo™ platform)
5911 5 Intel® Core™ Ultra 5 125H (1.2–4.5GHz, 14 cores)
2276 6 Intel® Core™ Ultra 7 155H
4354 8 AMD Ryzen 5 8645HS (6 cores / 12 threads, up to 5.0 GHz)
5700 9 AMD Ryzen 7 7435HS (8 cores, 16 threads, up to 4.55GHz)
2136 10 #ffffff 14"
2137 20 #ffffff 16"
1563 30 #ffffff 512GB
1564 40 #ffffff 1TB
1526 60 #ffffff 8GB
1592 90 #ffffff 16GB
2117 110 #ffffff 32GB