SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  fv.position, 
  fvd.variant 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_feature_variants AS fv ON pfv.feature_id = fv.feature_id 
  AND pfv.variant_id = fv.variant_id 
  INNER JOIN cscart_product_feature_variant_descriptions AS fvd ON pfv.variant_id = fvd.variant_id 
  AND fvd.lang_code = 'ar' 
WHERE 
  pfv.feature_id IN (656, 648, 643) 
  AND pfv.product_id IN (
    5750, 7013, 5739, 5727, 944, 478, 985, 
    525, 2478, 10284, 2527, 2490, 1406, 
    508, 1266, 1428, 1263, 2471, 2576, 2620, 
    1256, 1319, 1273, 4526, 2502, 2473, 
    2565, 2580, 2550, 2599, 2503, 2602, 
    3049, 2540, 3046, 3053, 4767, 2685, 
    2623, 5037, 8398, 4744, 2499, 3055, 
    2581, 2631, 2519, 8399, 4789, 5027, 
    10140, 10222, 10228, 10435, 10395, 
    10233
  ) 
  AND pfv.lang_code = 'ar'

Query time 0.00871

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "98.45"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "variant_id",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "idx_product_feature_variant_id",
          "used_key_parts": [
            "product_id",
            "feature_id",
            "lang_code"
          ],
          "key_length": "12",
          "rows_examined_per_scan": 170,
          "rows_produced_per_join": 170,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "18.95",
            "eval_cost": "17.00",
            "prefix_cost": "35.95",
            "data_read_per_join": "131K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`feature_id` in (656,648,643)) and (`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`product_id` in (5750,7013,5739,5727,944,478,985,525,2478,10284,2527,2490,1406,508,1266,1428,1263,2471,2576,2620,1256,1319,1273,4526,2502,2473,2565,2580,2550,2599,2503,2602,3049,2540,3046,3053,4767,2685,2623,5037,8398,4744,2499,3055,2581,2631,2519,8399,4789,5027,10140,10222,10228,10435,10395,10233)) and (`softwarepirmam_hewadelivard_cscart_4`.`pfv`.`lang_code` = 'ar'))"
        }
      },
      {
        "table": {
          "table_name": "fv",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "feature_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.pfv.variant_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 8,
          "filtered": "5.04",
          "cost_info": {
            "read_cost": "42.50",
            "eval_cost": "0.86",
            "prefix_cost": "95.45",
            "data_read_per_join": "9K"
          },
          "used_columns": [
            "variant_id",
            "feature_id",
            "position"
          ],
          "attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`fv`.`feature_id` = `softwarepirmam_hewadelivard_cscart_4`.`pfv`.`feature_id`)"
        }
      },
      {
        "table": {
          "table_name": "fvd",
          "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": 8,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "2.14",
            "eval_cost": "0.86",
            "prefix_cost": "98.45",
            "data_read_per_join": "25K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id position variant
643 478 1526 60 8GB
648 478 1561 10 128GB
656 478 1556 0 Ultramarine
643 508 1526 60 8GB
648 508 1561 10 128GB
656 508 1559 0 White
643 525 1526 60 8GB
648 525 1562 20 256GB
656 525 1552 4 Desert Titanium
643 944 1526 60 8GB
648 944 1561 10 128GB
656 944 1553 11 Natural Titanium
643 985 1526 60 8GB
648 985 1561 10 128GB
656 985 1660 100 Frost Black
643 1256 1684 40 4GB
648 1256 1687 7 64GB
656 1256 1560 0 Black
643 1263 1526 60 8GB
648 1263 1561 10 128GB
656 1263 1787 0 لأصفر الكهرماني
643 1266 1587 80 12GB
648 1266 1562 20 256GB
656 1266 1554 13 Black Titanium
643 1273 1587 80 12GB
648 1273 1562 20 256GB
656 1273 1778 0 Shiny Silver
643 1319 1526 60 8GB
648 1319 1562 20 256GB
656 1319 1751 0 Awesome Light Gray
643 1406 1526 60 8GB
648 1406 1562 20 256GB
656 1406 1775 1147 Mint
643 1428 1526 60 8GB
648 1428 1561 10 128GB
656 1428 1781 0 Wonderful Navy
643 2471 1592 90 16GB
648 2471 1563 30 512GB
656 2471 1641 0 Silver Chrome
643 2473 1587 80 12GB
648 2473 1563 30 512GB
656 2473 2903 0 Liquid Silver
643 2478 1587 80 12GB
648 2478 1564 40 1TB
656 2478 1653 0 Titan Grey
643 2490 1587 80 12GB
648 2490 1563 30 512GB
656 2490 2910 0 Lemon Green
643 2499 1587 80 12GB
648 2499 1563 30 512GB
656 2499 1597 0 Lavender Purple
643 2502 1592 90 16GB
648 2502 1563 30 512GB
656 2502 1559 0 White
643 2503 1587 80 12GB
648 2503 1563 30 512GB
656 2503 2919 0 Jade Green
643 2519 1526 60 8GB
648 2519 1562 20 256GB
656 2519 2758 0 Gold
643 2527 2870 30 3GB
648 2527 1687 7 64GB
656 2527 1600 0 Blue
643 2540 1587 80 12GB
648 2540 1563 30 512GB
656 2540 1597 0 Lavender Purple
643 2550 1587 80 12GB
648 2550 1563 30 512GB
656 2550 2441 0 Coral Green
643 2565 1526 60 8GB
648 2565 1562 20 256GB
656 2565 2985 0 Aurora Purple
643 2576 1587 80 12GB
648 2576 1562 20 256GB
656 2576 1596 0 Green
643 2580 1592 90 16GB
648 2580 1563 30 512GB
656 2580 1560 0 Black
643 2581 1587 80 12GB
648 2581 1563 30 512GB
656 2581 1560 0 Black
643 2599 1587 80 12GB
648 2599 1563 30 512GB
656 2599 1595 0 Yellow
643 2602 1587 80 12GB
648 2602 1563 30 512GB
656 2602 1560 0 Black
643 2620 1684 40 4GB
648 2620 1561 10 128GB
656 2620 1559 0 White
643 2623 1592 90 16GB
648 2623 1564 40 1TB
656 2623 1559 0 White
643 2631 1587 80 12GB
648 2631 1563 30 512GB
656 2631 1595 0 Yellow
643 2685 1587 80 12GB
648 2685 1563 30 512GB
656 2685 1609 0 Purple
643 3046 1587 80 12GB
648 3046 1562 20 256GB
656 3046 1596 0 Green
643 3049 1587 80 12GB
648 3049 1563 30 512GB
656 3049 1559 0 White
643 3053 1592 90 16GB
648 3053 1564 40 1TB
656 3053 2315 0 Red
643 3055 1587 80 12GB
648 3055 1563 30 512GB
656 3055 2315 0 Red
643 4526 1587 80 12GB
648 4526 1562 20 256GB
656 4526 1554 13 Black Titanium
643 4744 1526 60 8GB
648 4744 1561 10 128GB
656 4744 1737 40 Lavender Awesome
643 4767 1591 50 6GB
648 4767 1561 10 128GB
656 4767 1559 0 White
643 4789 1587 80 12GB
648 4789 1563 30 512GB
656 4789 2315 0 Red
643 5027 1591 50 6GB
648 5027 1561 10 128GB
656 5027 1560 0 Black
643 5037 1684 40 4GB
656 5037 1560 0 Black
643 5727 1587 80 12GB
648 5727 1562 20 256GB
656 5727 7521 0 Cosmic Orange
643 5739 1526 60 8GB
648 5739 1562 20 256GB
656 5739 1784 0 Lavender
643 5750 1587 80 12GB
648 5750 1562 20 256GB
656 5750 1776 1148 Sky Blue
643 7013 1526 60 8GB
648 7013 1562 20 256GB
656 7013 7521 0 Cosmic Orange
643 8398 1526 60 8GB
648 8398 1563 30 512GB
656 8398 1560 0 Black
643 8399 1587 80 12GB
648 8399 1563 30 512GB
656 8399 1609 0 Purple
643 10140 1587 80 12GB
648 10140 1563 30 512GB
656 10140 1560 0 Black
656 10222 1560 0 Black
656 10228 2077 0 Grey
656 10233 1560 0 Black
643 10284 1591 50 6GB
648 10284 1561 10 128GB
656 10284 1560 0 Black
643 10395 9248 0 12GB LPDDR5
648 10395 9254 0 256GB UFS 3.1
656 10395 9253 0 Shadow Black
643 10435 1592 90 16GB
648 10435 9254 0 256GB UFS 3.1
656 10435 1560 0 Black