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 (
    9237, 9233, 7568, 9234, 9803, 9799, 9797, 
    10687, 9244, 9248, 9789, 9242, 9801, 
    10690, 10695, 7607, 7569, 7579, 7567, 
    9236
  )

Query time 0.00207

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "351.96"
    },
    "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": 24,
          "rows_produced_per_join": 24,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "5.84",
            "eval_cost": "4.80",
            "prefix_cost": "10.64",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gpf`.`group_id` in (9237,9233,7568,9234,9803,9799,9797,10687,9244,9248,9789,9242,9801,10690,10695,7607,7569,7579,7567,9236))"
        }
      },
      {
        "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": [
            "webmarco.gpf.group_id"
          ],
          "rows_examined_per_scan": 9,
          "rows_produced_per_join": 226,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "24.22",
            "eval_cost": "45.30",
            "prefix_cost": "80.16",
            "data_read_per_join": "3K"
          },
          "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": [
            "webmarco.gpf.feature_id",
            "webmarco.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 226,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "226.50",
            "eval_cost": "45.30",
            "prefix_cost": "351.96",
            "data_read_per_join": "175K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
860 309585 64723 7567
860 309586 64691 7567
860 309587 64753 7568
860 309588 60615 7568
860 309590 60615 7569
548 359805 8175 7579
548 435519 61161 7579
860 359805 64721 7579
860 435519 64721 7579
860 359772 64721 7607
626 395983 7159 9233
626 395984 7160 9233
626 395985 7161 9233
626 395986 7162 9233
626 395987 7163 9233
626 395988 7164 9233
626 395989 7163 9234
626 395990 7168 9234
626 395991 7169 9234
626 395992 7164 9234
626 395993 7165 9234
626 395994 7166 9234
626 395995 7167 9234
626 396002 7164 9236
626 396003 7165 9236
626 396004 7166 9236
626 396005 7167 9236
626 396006 7163 9237
626 396007 7168 9237
626 396008 7169 9237
626 396009 7164 9237
626 396010 7165 9237
626 396011 7166 9237
626 396012 7167 9237
626 396044 7159 9242
626 396045 7160 9242
626 396046 7161 9242
626 396047 7162 9242
626 396048 7163 9242
626 396049 7164 9242
626 396050 7165 9242
626 396058 7166 9244
626 396059 67588 9244
626 396060 7168 9244
626 396061 7169 9244
626 396062 7170 9244
626 396063 7171 9244
626 396064 7167 9244
626 396078 7161 9248
626 396079 7168 9248
626 396080 7162 9248
626 396081 7163 9248
626 396082 7164 9248
626 396083 7165 9248
626 396084 7166 9248
626 396085 7167 9248
626 414329 7159 9789
626 414330 7160 9789
626 414331 7161 9789
626 414332 7162 9789
626 414333 7163 9789
626 414334 7164 9789
626 414393 7160 9797
626 414394 7161 9797
626 414395 7162 9797
626 414396 7163 9797
626 414397 7164 9797
626 414398 7165 9797
626 414399 7166 9797
626 414408 7161 9799
626 414409 7162 9799
626 414410 7163 9799
626 414411 7164 9799
626 414412 7165 9799
626 414413 7166 9799
626 414422 7166 9801
626 414423 67588 9801
626 414424 7168 9801
626 414425 7169 9801
626 414426 7170 9801
626 414427 7171 9801
626 414428 7167 9801
626 414436 7159 9803
626 414437 7160 9803
626 414438 7161 9803
626 414439 7162 9803
626 414440 7163 9803
626 414441 7164 9803
626 431514 7165 10687
626 431515 7168 10687
626 431516 7168 10687
626 431517 7168 10687
626 431518 7169 10687
626 431519 7169 10687
626 431520 7169 10687
626 431521 7170 10687
626 431522 7170 10687
626 431523 7170 10687
626 431524 7171 10687
626 431525 7171 10687
626 431526 7171 10687
626 431527 38285 10687
626 431528 38285 10687
626 431529 38285 10687
626 431530 7165 10687
626 431531 7165 10687
626 431532 7166 10687
626 431533 7166 10687
626 431534 7166 10687
626 431535 7167 10687
626 431536 7167 10687
626 431537 7167 10687
860 431514 60615 10687
860 431515 60615 10687
860 431516 64546 10687
860 431517 67701 10687
860 431518 60615 10687
860 431519 64546 10687
860 431520 67701 10687
860 431521 60615 10687
860 431522 64546 10687
860 431523 67701 10687
860 431524 60615 10687
860 431525 64546 10687
860 431526 67701 10687
860 431527 60615 10687
860 431528 64546 10687
860 431529 67701 10687
860 431530 64546 10687
860 431531 67701 10687
860 431532 60615 10687
860 431533 64546 10687
860 431534 67701 10687
860 431535 60615 10687
860 431536 64546 10687
860 431537 67701 10687
626 431561 7160 10690
626 431562 7168 10690
626 431563 7161 10690
626 431564 7162 10690
626 431565 7163 10690
626 431566 7164 10690
626 431567 7165 10690
626 431568 7166 10690
626 431569 7167 10690
626 431587 7168 10690
626 431588 7168 10690
626 431589 7160 10690
626 431590 7160 10690
626 431591 7161 10690
626 431592 7161 10690
626 431593 7162 10690
626 431594 7162 10690
626 431595 7163 10690
626 431596 7163 10690
626 431597 7164 10690
626 431598 7164 10690
626 431599 7165 10690
626 431600 7165 10690
626 431601 7166 10690
626 431602 7166 10690
626 431603 7167 10690
626 431604 7167 10690
860 431561 64236 10690
860 431562 64236 10690
860 431563 64236 10690
860 431564 64236 10690
860 431565 64236 10690
860 431566 64236 10690
860 431567 64236 10690
860 431568 64236 10690
860 431569 64236 10690
860 431587 64545 10690
860 431588 65265 10690
860 431589 64545 10690
860 431590 65265 10690
860 431591 64545 10690
860 431592 65265 10690
860 431593 64545 10690
860 431594 65265 10690
860 431595 64545 10690
860 431596 65265 10690
860 431597 64545 10690
860 431598 65265 10690
860 431599 64545 10690
860 431600 65265 10690
860 431601 64545 10690
860 431602 65265 10690
860 431603 64545 10690
860 431604 65265 10690
626 431659 7160 10695
626 431660 7161 10695
626 431661 7162 10695
626 431662 7163 10695
626 431663 7164 10695
626 431664 7165 10695
626 431665 7166 10695
626 431666 7167 10695
860 431659 64475 10695
860 431660 64475 10695
860 431661 64475 10695
860 431662 64475 10695
860 431663 64475 10695
860 431664 64475 10695
860 431665 64475 10695
860 431666 64475 10695