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 (461)

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.025223765,
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["const"],
          "loops": 1,
          "rows": 11,
          "cost": 0.003259455,
          "filtered": 100,
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "product_id",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "ref": ["u508912950_dev_2025.gp.product_id"],
          "loops": 11,
          "rows": 1,
          "cost": 0.011526655,
          "filtered": 100,
          "attached_condition": "pfv.lang_code = 'en'",
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "6",
          "used_key_parts": ["group_id", "feature_id"],
          "ref": ["const", "u508912950_dev_2025.pfv.feature_id"],
          "loops": 11,
          "rows": 1,
          "cost": 0.010437655,
          "filtered": 100,
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
549 18508 12528 461
596 18508 12544 461
549 18509 12528 461
596 18509 12545 461
549 18510 12537 461
596 18510 12541 461
549 18511 12537 461
596 18511 12542 461
549 18513 12537 461
596 18513 12544 461
549 18514 12537 461
596 18514 12545 461
549 18515 13064 461
596 18515 12541 461
549 18516 13064 461
596 18516 12542 461
549 18517 13064 461
596 18517 12543 461
549 18518 13064 461
596 18518 12544 461
549 18519 13064 461
596 18519 12545 461