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 = 'ru' 
  AND gp.group_id IN (876)

Query time 0.00071

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "gpf",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["const"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "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"],
          "rows": 58,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "idx_product_feature_variant_id",
          "key_length": "12",
          "used_key_parts": ["product_id", "feature_id", "lang_code"],
          "ref": [
            "lillyshop_lillyshop.gp.product_id",
            "lillyshop_lillyshop.gpf.feature_id",
            "const"
          ],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "pfv.lang_code = 'ru'",
          "using_index": true
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
84 22152 3096 876
84 20221 3084 876
84 20222 3095 876
84 20223 3095 876
84 21514 4983 876
84 21286 3089 876
84 21290 4974 876
84 21291 3089 876
84 21287 3089 876
84 21288 4974 876
84 21289 3089 876
84 22151 4979 876
84 21488 3103 876
84 22153 3093 876
84 21292 3098 876
84 21293 4983 876
84 21294 3096 876
84 21295 3096 876
84 21296 3096 876
84 21297 3099 876
84 21298 3104 876
84 21299 3104 876
84 21300 3098 876
84 21301 3098 876
84 21302 3104 876
84 21303 3104 876
84 21304 3104 876
84 21305 4981 876
84 21306 4983 876
84 21307 3093 876
84 21342 3096 876
84 21343 3096 876
84 21344 5138 876
84 21345 3094 876
84 21346 3098 876
84 21347 3097 876
84 21348 4913 876
84 21349 4913 876
84 21350 4913 876
84 21351 3686 876
84 21352 3092 876
84 21353 3092 876
84 21354 3092 876
84 21355 4983 876
84 21356 3099 876
84 21357 4922 876
84 22154 3101 876
84 22155 4980 876
84 22156 3101 876
84 22157 3100 876
84 22158 3100 876
84 22159 3101 876
84 22175 3092 876
84 22177 4983 876
84 22160 3096 876
84 22161 3096 876
84 21552 3096 876
84 21553 3096 876