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 (
    547, 506, 231, 812, 307, 501, 503, 538
  )

Query time 0.00137

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "27.51"
    },
    "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": 10,
          "rows_produced_per_join": 10,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`gpf`.`group_id` in (547,506,231,812,307,501,503,538))",
          "cost_info": {
            "read_cost": "5.51",
            "eval_cost": "1.00",
            "prefix_cost": "6.51",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      },
      {
        "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": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.group_id"
          ],
          "rows_examined_per_scan": 3,
          "rows_produced_per_join": 30,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "7.50",
            "eval_cost": "3.00",
            "prefix_cost": "17.01",
            "data_read_per_join": "480"
          },
          "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": [
            "softwarepirmam_hewadelivard_cscart_4.gpf.feature_id",
            "softwarepirmam_hewadelivard_cscart_4.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 30,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "7.50",
            "eval_cost": "3.00",
            "prefix_cost": "27.51",
            "data_read_per_join": "23K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
656 2587 1560 231
656 2588 1559 231
656 2589 1600 231
656 2590 2315 231
656 2927 1560 307
656 2928 1559 307
656 2929 1600 307
656 2930 1609 307
656 4269 1560 501
656 4270 1600 501
656 4276 1560 503
656 4278 1559 503
656 4297 1560 506
656 4298 1600 506
656 4299 2315 506
648 4776 1562 538
648 4777 1561 538
648 4778 1562 538
648 4779 1561 538
648 4780 1562 538
648 4770 1562 538
648 4771 1561 538
648 4772 1562 538
648 4773 1561 538
648 4774 1562 538
648 4775 1561 538
648 4767 1561 538
656 4776 1559 538
656 4777 1560 538
656 4778 1560 538
656 4779 5991 538
656 4780 5991 538
656 4770 1559 538
656 4771 1560 538
656 4772 1560 538
656 4773 5991 538
656 4774 5991 538
656 4775 1559 538
656 4767 1559 538
643 4776 1526 538
643 4777 1526 538
643 4778 1526 538
643 4779 1526 538
643 4780 1526 538
643 4770 1591 538
643 4771 1591 538
643 4772 1591 538
643 4773 1591 538
643 4774 1591 538
643 4775 1526 538
643 4767 1591 538
656 4899 6255 547
656 4898 1598 547
656 4897 1596 547
656 4896 1559 547
656 4894 1560 547
766 2432 8553 812
766 8485 8558 812
766 8484 8557 812
766 8483 8560 812