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 (6, 16, 29, 99, 66)

Query time 0.00115

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "gpf",
      "access_type": "range",
      "possible_keys": ["PRIMARY", "idx_group_id"],
      "key": "idx_group_id",
      "key_length": "3",
      "used_key_parts": ["group_id"],
      "rows": 6,
      "filtered": 100,
      "index_condition": "gpf.group_id in (6,16,29,99,66)"
    },
    "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": ["herbaria_cscart_4_18.gpf.group_id"],
      "rows": 38,
      "filtered": 100
    },
    "table": {
      "table_name": "pfv",
      "access_type": "ref",
      "possible_keys": [
        "PRIMARY",
        "fl",
        "lang_code",
        "product_id",
        "fpl",
        "idx_product_feature_variant_id"
      ],
      "key": "PRIMARY",
      "key_length": "6",
      "used_key_parts": ["feature_id", "product_id"],
      "ref": [
        "herbaria_cscart_4_18.gpf.feature_id",
        "herbaria_cscart_4_18.gp.product_id"
      ],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "pfv.lang_code = 'en'",
      "using_index": true
    }
  }
}

Result

feature_id product_id variant_id group_id
40 298 6264 6
40 427 6264 6
40 428 6265 6
40 429 6265 6
40 430 6266 6
40 431 6266 6
41 298 6267 6
41 427 6268 6
41 428 6267 6
41 429 6268 6
41 430 6267 6
41 431 6268 6
44 493 6277 16
44 492 6276 16
44 103 6275 16
67 292 6460 29
67 531 6456 29
67 532 6459 29
67 533 6455 29
67 534 6458 29
67 535 6461 29
67 536 6457 29
67 5475 7163 29
85 398 7014 66
85 1752 7015 66
75 3827 6836 99
75 3884 6861 99
75 3883 6862 99
75 3882 6779 99
75 3881 6782 99
75 3880 6781 99
75 3879 6858 99
75 3878 6857 99
75 3877 6783 99
75 3876 6855 99
75 3875 6854 99
75 3874 6789 99
75 3873 6788 99
75 3872 6851 99
75 3871 6850 99
75 3870 6790 99
75 3869 6848 99
75 3868 6847 99
75 3867 6796 99
75 3866 6795 99
75 3865 6798 99
75 3864 6797 99
75 3863 6801 99
75 3862 6800 99
75 3861 6799 99
75 3860 6837 99
75 3859 6802 99
75 3858 6835 99
75 3857 6778 99
75 3856 6763 99
75 3855 6775 99
75 3854 6750 99
75 3853 6753 99
75 3852 6752 99
75 3851 6755 99
75 3850 6754 99
75 3849 6758 99
75 3848 6757 99
75 3847 6756 99
75 3846 6761 99
75 3845 6760 99
75 3844 6751 99
75 3843 6759 99
75 3842 6819 99
75 3841 6767 99
75 3840 6766 99
75 3839 6769 99
75 3838 6768 99
75 3837 6772 99
75 3836 6771 99
75 3835 6770 99
75 3834 6774 99
75 3833 6773 99
75 3832 6776 99
75 3831 6805 99
75 3830 6777 99
75 3829 6804 99
75 3828 6832 99
75 3824 6803 99
75 3823 6839 99
75 3822 6838 99
75 3821 6842 99
75 3820 6841 99
75 3819 6840 99
75 3818 6844 99
75 3817 6843 99
75 3816 6849 99
75 3815 6794 99
75 3814 6793 99
75 3813 6792 99
75 3812 6791 99
75 3811 6853 99
75 3810 6852 99
75 3809 6856 99
75 3808 6787 99
75 3807 6893 99
75 3806 6785 99
75 3805 6784 99
75 3804 6860 99
75 3803 6859 99
75 3802 6863 99
75 3801 6780 99
75 3800 6833 99
75 3799 6818 99
75 3798 6834 99
75 3797 6806 99
75 3796 6810 99
75 3795 6809 99
75 3794 6813 99
75 3793 6812 99
75 3792 6811 99
75 3791 6815 99
75 3790 6814 99
75 3789 6817 99
75 3788 6816 99
75 3787 6820 99
75 3786 6807 99
75 3785 6762 99
75 3784 6822 99
75 3783 6821 99
75 3782 6930 99
75 3781 6823 99
75 3780 6827 99
75 3779 6826 99
75 3778 6825 99
75 3777 6829 99
75 3776 6828 99
75 3775 6831 99
75 3774 6830 99
75 3773 6808 99
75 370 6749 99