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 (869, 870)

Query time 0.00185

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "94.82"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "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": 30,
          "rows_produced_per_join": 30,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (869,870))",
          "cost_info": {
            "read_cost": "11.01",
            "eval_cost": "3.00",
            "prefix_cost": "14.01",
            "data_read_per_join": "480"
          },
          "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": "idx_product_feature_variant_id",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "test2_gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 7,
          "rows_produced_per_join": 114,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "19.78",
            "eval_cost": "11.44",
            "prefix_cost": "54.79",
            "data_read_per_join": "88K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "(`test2_gaseus`.`pfv`.`lang_code` = 'en')"
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "group_id"
          ],
          "key_length": "6",
          "ref": [
            "test2_gaseus.pfv.feature_id",
            "test2_gaseus.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 114,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "28.59",
            "eval_cost": "11.44",
            "prefix_cost": "94.82",
            "data_read_per_join": "11K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12608 1935 869
624 12608 2403 869
625 12608 2388 869
627 12608 1954 869
628 12608 1660 869
553 12607 1935 869
624 12607 2403 869
625 12607 2436 869
627 12607 1954 869
628 12607 1660 869
553 12606 1935 869
624 12606 2403 869
625 12606 2435 869
627 12606 1954 869
628 12606 1660 869
553 12605 1935 869
624 12605 2403 869
625 12605 2434 869
627 12605 1954 869
628 12605 1660 869
553 12604 1935 869
624 12604 2403 869
625 12604 2433 869
627 12604 1954 869
628 12604 1660 869
553 12603 1935 869
624 12603 2403 869
625 12603 2388 869
627 12603 2290 869
628 12603 1660 869
553 12602 1935 869
624 12602 2403 869
625 12602 2436 869
627 12602 2290 869
628 12602 1660 869
553 12601 1935 869
624 12601 2403 869
625 12601 2435 869
627 12601 2290 869
628 12601 1660 869
553 12600 1935 869
624 12600 2403 869
625 12600 2434 869
627 12600 2290 869
628 12600 1660 869
553 12599 1935 869
624 12599 2403 869
625 12599 2433 869
627 12599 2290 869
628 12599 1660 869
553 12598 1935 869
624 12598 2403 869
625 12598 2388 869
627 12598 1836 869
628 12598 1660 869
553 12597 1935 869
624 12597 2403 869
625 12597 2436 869
627 12597 1836 869
628 12597 1660 869
553 12594 1935 869
624 12594 2403 869
625 12594 2433 869
627 12594 1836 869
628 12594 1660 869
553 12595 1935 869
624 12595 2403 869
625 12595 2434 869
627 12595 1836 869
628 12595 1660 869
553 12596 1935 869
624 12596 2403 869
625 12596 2435 869
627 12596 1836 869
628 12596 1660 869
553 12617 1935 870
624 12617 2403 870
625 12617 2436 870
627 12617 2290 870
628 12617 1712 870
553 12618 1935 870
624 12618 2403 870
625 12618 2388 870
627 12618 2290 870
628 12618 1712 870
553 12619 1935 870
624 12619 2403 870
625 12619 2433 870
627 12619 1954 870
628 12619 1712 870
553 12620 1935 870
624 12620 2403 870
625 12620 2434 870
627 12620 1954 870
628 12620 1712 870
553 12621 1935 870
624 12621 2403 870
625 12621 2435 870
627 12621 1954 870
628 12621 1712 870
553 12622 1935 870
624 12622 2403 870
625 12622 2436 870
627 12622 1954 870
628 12622 1712 870
553 12623 1935 870
624 12623 2403 870
625 12623 2388 870
627 12623 1954 870
628 12623 1712 870
553 12616 1935 870
624 12616 2403 870
625 12616 2435 870
627 12616 2290 870
628 12616 1712 870
553 12615 1935 870
624 12615 2403 870
625 12615 2434 870
627 12615 2290 870
628 12615 1712 870
553 12614 1935 870
624 12614 2403 870
625 12614 2433 870
627 12614 2290 870
628 12614 1712 870
553 12613 1935 870
624 12613 2403 870
625 12613 2388 870
627 12613 1836 870
628 12613 1712 870
553 12612 1935 870
624 12612 2403 870
625 12612 2436 870
627 12612 1836 870
628 12612 1712 870
553 12611 1935 870
624 12611 2403 870
625 12611 2435 870
627 12611 1836 870
628 12611 1712 870
553 12610 1935 870
624 12610 2403 870
625 12610 2434 870
627 12610 1836 870
628 12610 1712 870
553 12609 1935 870
624 12609 2403 870
625 12609 2433 870
627 12609 1836 870
628 12609 1712 870