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 (
    220, 155, 213, 146, 147, 153, 179, 225, 
    228, 227, 168, 221, 171, 151, 152, 172, 
    226, 163, 209, 222, 178, 197, 230, 199, 
    196, 252, 240, 200, 201, 203, 241, 239
  )

Query time 0.00165

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "112.66"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "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": 91,
          "rows_produced_per_join": 91,
          "filtered": "100.00",
          "index_condition": "(`test_uchur_k`.`gp`.`group_id` in (220,155,213,146,147,153,179,225,228,227,168,221,171,151,152,172,226,163,209,222,178,197,230,199,196,252,240,200,201,203,241,239))",
          "cost_info": {
            "read_cost": "39.86",
            "eval_cost": "9.10",
            "prefix_cost": "48.96",
            "data_read_per_join": "1K"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "test_uchur_k.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 91,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "22.75",
            "eval_cost": "9.10",
            "prefix_cost": "80.81",
            "data_read_per_join": "9K"
          },
          "used_columns": [
            "feature_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": [
            "test_uchur_k.gpf.feature_id",
            "test_uchur_k.gp.product_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 91,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "22.75",
            "eval_cost": "9.10",
            "prefix_cost": "112.66",
            "data_read_per_join": "70K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
193 51194 1370 146
193 51193 1369 146
193 51192 1368 146
193 51191 1367 146
193 51190 1366 146
193 51189 1365 146
193 19 1371 146
193 51201 1372 147
193 51200 1370 147
193 51199 1369 147
193 51198 1368 147
193 51197 1367 147
193 51196 1366 147
193 51195 1365 147
193 131 1371 147
193 51211 1358 151
193 51210 1357 151
193 111 1374 151
193 51212 1359 151
193 144 1357 152
193 51215 1363 152
193 51214 1362 152
193 51213 1359 152
193 51444 1358 152
193 51445 1360 152
193 51446 1361 152
193 51447 1364 152
193 51220 1364 153
193 51219 1363 153
193 51218 1362 153
193 51217 1360 153
193 51216 1358 153
193 146 1357 153
193 51448 1359 153
193 51449 1361 153
193 51231 1364 155
193 51230 1363 155
193 51229 1362 155
193 51228 1361 155
193 51227 1360 155
193 51226 1359 155
193 51225 1358 155
193 109 1357 155
193 51272 1364 163
193 51271 1363 163
193 51270 1362 163
193 51269 1361 163
193 51268 1360 163
193 51267 1359 163
193 51266 1358 163
193 145 1357 163
193 9 1373 168
193 59 1373 171
193 60 1373 172
193 14 1373 178
193 13 1373 179
193 127 1377 196
193 51325 1378 196
193 63 1379 197
193 50984 1380 199
193 51450 1377 199
193 51451 1393 199
193 51329 1361 200
193 51328 1360 200
193 51327 1359 200
193 50985 1358 200
193 51331 1360 201
193 51330 1359 201
193 50986 1358 201
193 51332 1361 201
193 51339 1361 203
193 51338 1360 203
193 51337 1359 203
193 51336 1358 203
193 50988 1357 203
193 113 1373 209
193 51346 1386 213
193 118 1385 213
193 84 1387 220
193 51347 1389 221
193 85 1388 221
193 6 1373 222
193 61 1373 225
193 51350 1386 226
193 123 1385 226
193 15 1373 227
193 95 1373 228
193 136 1373 230
193 50992 1358 239
193 51374 1359 239
193 51375 1360 239
193 42 1357 240
193 51376 1358 240
193 51377 1359 240
193 51378 1360 240
193 51379 1361 240
193 51380 1362 240
193 50993 1359 241
193 51381 1360 241
193 51382 1361 241
193 134 1373 252