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 (
    177, 180, 175, 178, 176, 179, 174, 182
  )

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.051746875,
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "loops": 1,
          "rows": 21,
          "cost": 0.011304465,
          "filtered": 100,
          "attached_condition": "gp.group_id in (177,180,175,178,176,179,174,182)",
          "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": 21,
          "rows": 1,
          "cost": 0.021260705,
          "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": [
            "u508912950_dev_2025.gp.group_id",
            "u508912950_dev_2025.pfv.feature_id"
          ],
          "loops": 21,
          "rows": 1,
          "cost": 0.019181705,
          "filtered": 100,
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
549 15747 12539 174
549 15748 12530 174
549 15751 12539 175
549 15752 12528 175
549 15753 13062 176
549 15754 12533 176
549 15755 12535 176
549 15756 12537 176
549 16334 12532 177
549 16335 12537 177
549 16338 12531 178
549 16339 12535 178
549 16340 12539 179
549 16344 12532 179
549 16345 12537 179
549 16348 12530 180
549 16349 12528 180
549 16350 12531 180
549 16351 12536 182
549 16352 12531 182
549 16353 12539 182