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 = 'ar' 
WHERE 
  pfv.variant_id IN (
    3809, 1560, 1600, 1596, 7191, 1607, 1912, 
    2758, 2077, 7010, 1610, 1599, 6250, 
    6252, 6253, 6257, 6258, 6360, 3421, 
    1913, 2460, 1755, 2315, 5517, 1598, 
    1556, 7534, 6130, 1750, 3814, 7047, 
    1674, 1707, 1753, 1595, 2307, 1659
  )

Query time 0.00096

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "38.86"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 37,
          "rows_produced_per_join": 37,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`variant_id` in (3809,1560,1600,1596,7191,1607,1912,2758,2077,7010,1610,1599,6250,6252,6253,6257,6258,6360,3421,1913,2460,1755,2315,5517,1598,1556,7534,6130,1750,3814,7047,1674,1707,1753,1595,2307,1659))",
          "cost_info": {
            "read_cost": "22.21",
            "eval_cost": "3.70",
            "prefix_cost": "25.91",
            "data_read_per_join": "42K"
          },
          "used_columns": [
            "variant_id",
            "position"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfvd",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 37,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "9.25",
            "eval_cost": "3.70",
            "prefix_cost": "38.86",
            "data_read_per_join": "111K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1556 0 Ultramarine
1560 0 Black
1595 0 Yellow
1596 0 Green
1598 0 Frost Blue
1599 0 Midnight Black
1600 0 Blue
1607 0 Silver
1610 30 Starlight
1659 90 Frost white
1674 0 Brown
1707 0 Orange
1750 0 Awesome Olive
1753 128 Ice Blue
1755 125 Navy Blue
1912 0 Graphite
1913 0 Navy
2077 0 Grey
2307 0 Coral
2315 0 Red
2460 0 Sandstone Beige
2758 0 Gold
3421 0 Beige
3809 0 Black/Blue
3814 0 Black/Grey
5517 0 Black and blue
6130 0 Black/White
6250 0 Denim
6252 0 Plum
6253 0 Tangerine
6257 0 Aquamarine
6258 0 Periwinkle
6360 0 Dark Green
7010 0 Pale pink
7047 0 Bright red
7191 0 Black and silver
7534 0 Sage