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 (
    10698, 9795, 9237, 9233, 9234, 10705, 
    9803, 10707, 9799, 9812, 9797, 10687, 
    9244, 9248, 9789, 9242, 9801, 10690, 
    10695, 10689
  )

Query time 0.00388

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "366.58"
    },
    "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": 25,
          "rows_produced_per_join": 25,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "6.04",
            "eval_cost": "5.00",
            "prefix_cost": "11.04",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gpf`.`group_id` in (10698,9795,9237,9233,9234,10705,9803,10707,9799,9812,9797,10687,9244,9248,9789,9242,9801,10690,10695,10689))"
        }
      },
      {
        "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": 235,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "25.23",
            "eval_cost": "47.19",
            "prefix_cost": "83.46",
            "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": 235,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "235.94",
            "eval_cost": "47.19",
            "prefix_cost": "366.58",
            "data_read_per_join": "182K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
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 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 414376 67587 9795
626 414377 7159 9795
626 414378 7168 9795
626 414379 7169 9795
626 414380 7170 9795
626 414381 7160 9795
626 414382 7161 9795
626 414383 7162 9795
626 414384 7163 9795
626 414385 7164 9795
626 414386 7165 9795
626 414387 7166 9795
626 414388 7167 9795
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 414514 67587 9812
626 414516 7159 9812
626 414517 7160 9812
626 414518 7161 9812
626 414519 7162 9812
626 414520 7163 9812
626 414521 7164 9812
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 431552 7160 10689
626 431553 7168 10689
626 431554 7161 10689
626 431555 7162 10689
626 431556 7163 10689
626 431557 7164 10689
626 431558 7165 10689
626 431559 7166 10689
626 431560 7167 10689
860 431552 64691 10689
860 431553 64691 10689
860 431554 64691 10689
860 431555 64691 10689
860 431556 64691 10689
860 431557 64691 10689
860 431558 64691 10689
860 431559 64691 10689
860 431560 64691 10689
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
626 431687 7160 10698
626 431688 7168 10698
626 431689 7169 10698
626 431690 7170 10698
626 431691 7161 10698
626 431692 7162 10698
626 431693 7163 10698
626 431694 7164 10698
626 431695 7165 10698
626 431696 7166 10698
626 431697 7167 10698
860 431687 64236 10698
860 431688 64236 10698
860 431689 64236 10698
860 431690 64236 10698
860 431691 64236 10698
860 431692 64236 10698
860 431693 64236 10698
860 431694 64236 10698
860 431695 64236 10698
860 431696 64236 10698
860 431697 64236 10698
626 431783 7162 10705
626 431784 7168 10705
626 431785 7169 10705
626 431786 7170 10705
626 431787 7163 10705
626 431788 7164 10705
626 431789 7165 10705
626 431790 7166 10705
626 431791 7167 10705
626 431802 7162 10707
626 431803 7168 10707
626 431804 7169 10707
626 431805 7170 10707
626 431806 7163 10707
626 431807 7164 10707
626 431808 7165 10707
626 431809 7166 10707
626 431810 7167 10707