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, 9812, 9797, 10687, 9789, 9248, 
    9242, 10689, 9790, 9802
  )

Query time 0.00178

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "191.17"
    },
    "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": 13,
          "rows_produced_per_join": 13,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "3.62",
            "eval_cost": "2.60",
            "prefix_cost": "6.22",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`webmarco`.`gpf`.`group_id` in (10698,9812,9797,10687,9789,9248,9242,10689,9790,9802))"
        }
      },
      {
        "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": 122,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "13.12",
            "eval_cost": "24.55",
            "prefix_cost": "43.89",
            "data_read_per_join": "1K"
          },
          "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": 122,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "122.73",
            "eval_cost": "24.55",
            "prefix_cost": "191.17",
            "data_read_per_join": "94K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
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 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 414335 7160 9790
626 414336 7161 9790
626 414337 7162 9790
626 414338 7163 9790
626 414339 7164 9790
626 414340 7165 9790
626 414341 7166 9790
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 414429 7160 9802
626 414430 7161 9802
626 414431 7162 9802
626 414432 7163 9802
626 414433 7164 9802
626 414434 7165 9802
626 414435 7166 9802
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 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