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 (949, 951, 952)

Query time 0.00118

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "66.78"
    },
    "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": 21,
          "rows_produced_per_join": 21,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (949,951,952))",
          "cost_info": {
            "read_cost": "8.11",
            "eval_cost": "2.10",
            "prefix_cost": "10.21",
            "data_read_per_join": "336"
          },
          "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": 80,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "13.85",
            "eval_cost": "8.01",
            "prefix_cost": "38.76",
            "data_read_per_join": "61K"
          },
          "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": 80,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "20.02",
            "eval_cost": "8.01",
            "prefix_cost": "66.78",
            "data_read_per_join": "8K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 13274 1912 949
595 13274 1904 949
622 13274 2559 949
623 13274 2524 949
624 13274 1694 949
625 13274 2122 949
626 13274 1917 949
627 13274 2290 949
628 13274 1660 949
636 13274 2344 949
637 13274 2345 949
553 13275 1912 949
595 13275 2451 949
622 13275 2559 949
623 13275 2524 949
624 13275 1694 949
625 13275 2122 949
626 13275 1917 949
627 13275 2290 949
628 13275 1660 949
636 13275 2344 949
637 13275 2345 949
553 13276 1912 949
595 13276 1787 949
622 13276 2559 949
623 13276 2524 949
624 13276 1694 949
625 13276 2122 949
626 13276 1917 949
627 13276 2290 949
628 13276 1660 949
636 13276 2344 949
637 13276 2345 949
553 13279 1912 949
595 13279 1462 949
622 13279 2559 949
623 13279 2524 949
624 13279 1694 949
625 13279 2122 949
626 13279 1917 949
627 13279 2290 949
628 13279 1660 949
636 13279 2344 949
637 13279 2345 949
553 13277 1912 949
595 13277 1905 949
622 13277 2559 949
623 13277 2524 949
624 13277 1694 949
625 13277 2122 949
626 13277 1917 949
627 13277 2290 949
628 13277 1660 949
636 13277 2344 949
637 13277 2345 949
553 13278 1912 949
595 13278 1900 949
622 13278 2559 949
623 13278 2524 949
624 13278 1694 949
625 13278 2122 949
626 13278 1917 949
627 13278 2290 949
628 13278 1660 949
636 13278 2344 949
637 13278 2345 949
553 13286 1912 951
595 13286 1904 951
622 13286 2559 951
623 13286 2524 951
624 13286 1694 951
625 13286 2122 951
626 13286 1928 951
627 13286 2290 951
628 13286 1712 951
636 13286 2344 951
637 13286 2345 951
553 13289 1912 951
595 13289 1905 951
622 13289 2559 951
623 13289 2524 951
624 13289 1694 951
625 13289 2122 951
626 13289 1928 951
627 13289 2290 951
628 13289 1712 951
636 13289 2344 951
637 13289 2345 951
553 13290 1912 951
595 13290 1900 951
622 13290 2559 951
623 13290 2524 951
624 13290 1694 951
625 13290 2122 951
626 13290 1928 951
627 13290 2290 951
628 13290 1712 951
636 13290 2344 951
637 13290 2345 951
553 13291 1912 951
595 13291 1462 951
622 13291 2559 951
623 13291 2524 951
624 13291 1694 951
625 13291 2122 951
626 13291 1928 951
627 13291 2290 951
628 13291 1712 951
636 13291 2344 951
637 13291 2345 951
553 13287 1912 951
595 13287 2451 951
622 13287 2559 951
623 13287 2524 951
624 13287 1694 951
625 13287 2122 951
626 13287 1928 951
627 13287 2290 951
628 13287 1712 951
636 13287 2344 951
637 13287 2345 951
553 13288 1912 951
595 13288 1787 951
622 13288 2559 951
623 13288 2524 951
624 13288 1694 951
625 13288 2122 951
626 13288 1928 951
627 13288 2290 951
628 13288 1712 951
636 13288 2344 951
637 13288 2345 951
553 13292 1912 952
595 13292 1904 952
622 13292 2559 952
623 13292 2524 952
624 13292 1694 952
625 13292 2413 952
626 13292 1926 952
627 13292 2290 952
628 13292 1712 952
636 13292 2344 952
637 13292 2345 952
553 13295 1912 952
595 13295 1905 952
622 13295 2559 952
623 13295 2524 952
624 13295 1694 952
625 13295 2413 952
626 13295 1926 952
627 13295 2290 952
628 13295 1712 952
636 13295 2344 952
637 13295 2345 952
553 13296 1912 952
595 13296 1900 952
622 13296 2559 952
623 13296 2524 952
624 13296 1694 952
625 13296 2413 952
626 13296 1926 952
627 13296 2290 952
628 13296 1712 952
636 13296 2344 952
637 13296 2345 952
553 13297 1912 952
595 13297 1462 952
622 13297 2559 952
623 13297 2524 952
624 13297 1694 952
625 13297 2413 952
626 13297 1926 952
627 13297 2290 952
628 13297 1712 952
636 13297 2344 952
637 13297 2345 952
553 13294 1912 952
595 13294 1787 952
622 13294 2559 952
623 13294 2524 952
624 13294 1694 952
625 13294 2413 952
626 13294 1926 952
627 13294 2290 952
628 13294 1712 952
636 13294 2344 952
637 13294 2345 952
553 13293 1912 952
595 13293 2451 952
622 13293 2559 952
623 13293 2524 952
624 13293 1694 952
625 13293 2413 952
626 13293 1926 952
627 13293 2290 952
628 13293 1712 952
636 13293 2344 952
637 13293 2345 952