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 (868)

Query time 0.00977

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "121.75"
    },
    "nested_loop": [
      {
        "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": [
            "const"
          ],
          "rows_examined_per_scan": 40,
          "rows_produced_per_join": 40,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "10.00",
            "eval_cost": "4.00",
            "prefix_cost": "14.00",
            "data_read_per_join": "640"
          },
          "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": 152,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "26.38",
            "eval_cost": "15.25",
            "prefix_cost": "68.38",
            "data_read_per_join": "117K"
          },
          "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",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 152,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "38.13",
            "eval_cost": "15.25",
            "prefix_cost": "121.75",
            "data_read_per_join": "15K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12575 1935 868
624 12575 2381 868
625 12575 2415 868
627 12575 2290 868
628 12575 1712 868
553 12576 1935 868
624 12576 2381 868
625 12576 2131 868
627 12576 2290 868
628 12576 1712 868
553 12577 1935 868
624 12577 2381 868
625 12577 2132 868
627 12577 2290 868
628 12577 1712 868
553 12578 1935 868
624 12578 2381 868
625 12578 2143 868
627 12578 2290 868
628 12578 1712 868
553 12579 1935 868
624 12579 1803 868
625 12579 2413 868
627 12579 2290 868
628 12579 1712 868
553 12580 1935 868
624 12580 1803 868
625 12580 2415 868
627 12580 2290 868
628 12580 1712 868
553 12581 1935 868
624 12581 1803 868
625 12581 2131 868
627 12581 2290 868
628 12581 1712 868
553 12582 1935 868
624 12582 1803 868
625 12582 2132 868
627 12582 2290 868
628 12582 1712 868
553 12583 1935 868
624 12583 1803 868
625 12583 2143 868
627 12583 2290 868
628 12583 1712 868
553 12584 1935 868
624 12584 1949 868
625 12584 2413 868
627 12584 1954 868
628 12584 1712 868
553 12585 1935 868
624 12585 1949 868
625 12585 2415 868
627 12585 1954 868
628 12585 1712 868
553 12586 1935 868
624 12586 1949 868
625 12586 2131 868
627 12586 1954 868
628 12586 1712 868
553 12587 1935 868
624 12587 1949 868
625 12587 2132 868
627 12587 1954 868
628 12587 1712 868
553 12588 1935 868
624 12588 1949 868
625 12588 2143 868
627 12588 1954 868
628 12588 1712 868
553 12589 1935 868
624 12589 2381 868
625 12589 2413 868
627 12589 1954 868
628 12589 1712 868
553 12590 1935 868
624 12590 2381 868
625 12590 2415 868
627 12590 1954 868
628 12590 1712 868
553 12591 1935 868
624 12591 2381 868
625 12591 2131 868
627 12591 1954 868
628 12591 1712 868
553 12592 1935 868
624 12592 2381 868
625 12592 2132 868
627 12592 1954 868
628 12592 1712 868
553 12593 1935 868
624 12593 2381 868
625 12593 2143 868
627 12593 1954 868
628 12593 1712 868
553 12564 1935 868
624 12564 2226 868
625 12564 2413 868
627 12564 1836 868
628 12564 1712 868
553 12565 1935 868
624 12565 2226 868
625 12565 2415 868
627 12565 1836 868
628 12565 1712 868
553 12566 1935 868
624 12566 2226 868
625 12566 2131 868
627 12566 1836 868
628 12566 1712 868
553 12567 1935 868
624 12567 2226 868
625 12567 2132 868
627 12567 1836 868
628 12567 1712 868
553 12568 1935 868
624 12568 2226 868
625 12568 2143 868
627 12568 1836 868
628 12568 1712 868
553 12569 1935 868
624 12569 1949 868
625 12569 2413 868
627 12569 2290 868
628 12569 1712 868
553 12570 1935 868
624 12570 1949 868
625 12570 2415 868
627 12570 2290 868
628 12570 1712 868
553 12571 1935 868
624 12571 1949 868
625 12571 2131 868
627 12571 2290 868
628 12571 1712 868
553 12572 1935 868
624 12572 1949 868
625 12572 2132 868
627 12572 2290 868
628 12572 1712 868
553 12573 1935 868
624 12573 1949 868
625 12573 2143 868
627 12573 2290 868
628 12573 1712 868
553 12574 1935 868
624 12574 2381 868
625 12574 2413 868
627 12574 2290 868
628 12574 1712 868
553 12554 1935 868
624 12554 1949 868
625 12554 2413 868
627 12554 1836 868
628 12554 1712 868
553 12556 1935 868
624 12556 1949 868
625 12556 2131 868
627 12556 1836 868
628 12556 1712 868
553 12555 1935 868
624 12555 1949 868
625 12555 2415 868
627 12555 1836 868
628 12555 1712 868
553 12558 1935 868
624 12558 1949 868
625 12558 2143 868
627 12558 1836 868
628 12558 1712 868
553 12557 1935 868
624 12557 1949 868
625 12557 2132 868
627 12557 1836 868
628 12557 1712 868
553 12560 1935 868
624 12560 2381 868
625 12560 2415 868
627 12560 1836 868
628 12560 1712 868
553 12559 1935 868
624 12559 2381 868
625 12559 2413 868
627 12559 1836 868
628 12559 1712 868
553 12562 1935 868
624 12562 2381 868
625 12562 2132 868
627 12562 1836 868
628 12562 1712 868
553 12561 1935 868
624 12561 2381 868
625 12561 2131 868
627 12561 1836 868
628 12561 1712 868
553 12563 1935 868
624 12563 2381 868
625 12563 2143 868
627 12563 1836 868
628 12563 1712 868