SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  gp.group_id 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_variation_group_products AS gp ON pfv.product_id = gp.product_id 
  INNER JOIN cscart_product_variation_group_features AS gpf ON gpf.group_id = gp.group_id 
  AND gpf.feature_id = pfv.feature_id 
WHERE 
  pfv.lang_code = 'en' 
  AND gp.group_id IN (
    640, 813, 818, 569, 814, 772, 812, 1097, 
    765, 817, 815, 767
  )

Query time 0.00105

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "33.61"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gpf",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 12,
          "rows_produced_per_join": 12,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gpf`.`group_id` in (640,813,818,569,814,772,812,1097,765,817,815,767))",
          "cost_info": {
            "read_cost": "7.21",
            "eval_cost": "1.20",
            "prefix_cost": "8.41",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.group_id"
          ],
          "rows_examined_per_scan": 3,
          "rows_produced_per_join": 36,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "9.00",
            "eval_cost": "3.60",
            "prefix_cost": "21.01",
            "data_read_per_join": "576"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "fpl",
          "used_key_parts": [
            "feature_id",
            "product_id",
            "lang_code"
          ],
          "key_length": "12",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.feature_id",
            "softwarepirmam_hewadelivard_cscart_4.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 36,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "9.00",
            "eval_cost": "3.60",
            "prefix_cost": "33.61",
            "data_read_per_join": "27K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
656 5039 1607 569
656 5038 1559 569
656 4991 1560 569
656 5870 1600 640
656 5661 1596 640
766 7608 8553 765
766 7279 8556 765
766 7612 8555 767
766 7614 8560 767
766 7613 8557 767
766 7248 8558 767
766 7624 8554 772
766 7277 8551 772
766 7623 8553 772
766 2432 8553 812
766 8485 8558 812
766 8484 8557 812
766 8483 8560 812
766 2455 8553 813
766 8488 8558 813
766 8487 8557 813
766 8486 8560 813
766 8490 8558 814
766 8489 8557 814
766 2438 8551 814
766 2459 8558 815
766 8492 8551 815
766 8491 8560 815
766 8493 8557 815
766 8495 8551 817
766 1538 8558 817
766 8496 8557 817
766 1517 8557 818
766 8498 8558 818
766 8497 8805 818
656 5346 1560 1097
656 11310 3800 1097