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

Query time 0.00164

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "69.67"
    },
    "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": 22,
          "rows_produced_per_join": 22,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (870,907))",
          "cost_info": {
            "read_cost": "8.21",
            "eval_cost": "2.20",
            "prefix_cost": "10.41",
            "data_read_per_join": "352"
          },
          "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": 83,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "14.51",
            "eval_cost": "8.39",
            "prefix_cost": "40.32",
            "data_read_per_join": "64K"
          },
          "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": 83,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "20.97",
            "eval_cost": "8.39",
            "prefix_cost": "69.67",
            "data_read_per_join": "8K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
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
553 13098 1973 907
595 13098 1904 907
622 13098 2497 907
623 13098 2501 907
624 13098 1803 907
625 13098 2513 907
626 13098 2031 907
627 13098 1659 907
628 13098 1660 907
636 13098 2348 907
637 13098 2345 907
646 13098 2369 907
647 13098 2373 907
553 13104 1973 907
595 13104 1899 907
622 13104 2497 907
623 13104 2501 907
624 13104 1803 907
625 13104 2513 907
626 13104 2031 907
627 13104 1659 907
628 13104 1660 907
636 13104 2348 907
637 13104 2345 907
646 13104 2369 907
647 13104 2373 907
553 13103 1973 907
595 13103 1900 907
622 13103 2497 907
623 13103 2501 907
624 13103 1803 907
625 13103 2513 907
626 13103 2031 907
627 13103 1659 907
628 13103 1660 907
636 13103 2348 907
637 13103 2345 907
646 13103 2369 907
647 13103 2373 907
553 13102 1973 907
595 13102 1787 907
622 13102 2497 907
623 13102 2501 907
624 13102 1803 907
625 13102 2513 907
626 13102 2031 907
627 13102 1659 907
628 13102 1660 907
636 13102 2348 907
637 13102 2345 907
646 13102 2369 907
647 13102 2373 907
553 13101 1973 907
595 13101 2499 907
622 13101 2497 907
623 13101 2501 907
624 13101 1803 907
625 13101 2513 907
626 13101 2031 907
627 13101 1659 907
628 13101 1660 907
636 13101 2348 907
637 13101 2345 907
646 13101 2369 907
647 13101 2373 907
553 13100 1973 907
595 13100 1789 907
622 13100 2497 907
623 13100 2501 907
624 13100 1803 907
625 13100 2513 907
626 13100 2031 907
627 13100 1659 907
628 13100 1660 907
636 13100 2348 907
637 13100 2345 907
646 13100 2369 907
647 13100 2373 907
553 13099 1973 907
595 13099 1905 907
622 13099 2497 907
623 13099 2501 907
624 13099 1803 907
625 13099 2513 907
626 13099 2031 907
627 13099 1659 907
628 13099 1660 907
636 13099 2348 907
637 13099 2345 907
646 13099 2369 907
647 13099 2373 907