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 (
    223, 212, 174, 177, 217, 170, 211, 173, 
    216, 219, 167, 166, 210, 193, 148, 144, 
    156, 161, 165, 129, 158, 182, 160, 162, 
    159, 244, 164, 215, 157, 130, 145, 141, 
    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.00322

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "202.10"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gp",
          "access_type": "index",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id",
            "group_id"
          ],
          "key_length": "6",
          "rows_examined_per_scan": 501,
          "rows_produced_per_join": 215,
          "filtered": "43.11",
          "using_index": true,
          "cost_info": {
            "read_cost": "29.31",
            "eval_cost": "21.60",
            "prefix_cost": "50.91",
            "data_read_per_join": "3K"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ],
          "attached_condition": "(`test_uchur_k`.`gp`.`group_id` in (223,212,174,177,217,170,211,173,216,219,167,166,210,193,148,144,156,161,165,129,158,182,160,162,159,244,164,215,157,130,145,141,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))"
        }
      },
      {
        "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": 215,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "54.00",
            "eval_cost": "21.60",
            "prefix_cost": "126.51",
            "data_read_per_join": "21K"
          },
          "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": 215,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "54.00",
            "eval_cost": "21.60",
            "prefix_cost": "202.11",
            "data_read_per_join": "167K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
193 4 1373 217
193 6 1373 222
193 7 1357 165
193 8 1357 166
193 9 1373 168
193 10 1373 148
193 12 1357 156
193 13 1373 179
193 14 1373 178
193 15 1373 227
193 16 1373 182
193 19 1371 146
193 20 1371 145
193 23 1373 177
193 32 1357 161
193 33 1357 160
193 34 1357 159
193 35 1357 158
193 36 1357 157
193 42 1357 240
193 52 1365 141
193 54 1357 193
193 59 1373 171
193 60 1373 172
193 61 1373 225
193 62 1373 173
193 63 1379 197
193 84 1387 220
193 85 1388 221
193 86 1373 210
193 89 1357 244
193 93 1371 144
193 94 1357 167
193 95 1373 228
193 107 1373 219
193 108 1373 216
193 109 1357 155
193 110 1357 162
193 111 1374 151
193 113 1373 209
193 114 1373 215
193 118 1385 213
193 119 1385 212
193 120 1385 211
193 121 1385 223
193 123 1385 226
193 127 1377 196
193 128 1357 130
193 130 1357 129
193 131 1371 147
193 134 1373 252
193 136 1373 230
193 141 1373 174
193 142 1373 170
193 144 1357 152
193 145 1357 163
193 146 1357 153
193 147 1357 164
193 50984 1380 199
193 50985 1358 200
193 50986 1358 201
193 50988 1357 203
193 50992 1358 239
193 50993 1359 241
193 51106 1358 129
193 51107 1359 129
193 51108 1360 129
193 51109 1361 129
193 51110 1362 129
193 51111 1363 129
193 51112 1364 129
193 51113 1358 130
193 51114 1359 130
193 51115 1360 130
193 51116 1361 130
193 51117 1362 130
193 51118 1364 130
193 51161 1366 141
193 51162 1367 141
193 51163 1368 141
193 51164 1369 141
193 51165 1370 141
193 51177 1365 144
193 51178 1366 144
193 51179 1367 144
193 51180 1368 144
193 51181 1369 144
193 51182 1370 144
193 51183 1365 145
193 51184 1366 145
193 51185 1367 145
193 51186 1368 145
193 51187 1369 145
193 51188 1370 145
193 51189 1365 146
193 51190 1366 146
193 51191 1367 146
193 51192 1368 146
193 51193 1369 146
193 51194 1370 146
193 51195 1365 147
193 51196 1366 147
193 51197 1367 147
193 51198 1368 147
193 51199 1369 147
193 51200 1370 147
193 51201 1372 147
193 51210 1357 151
193 51211 1358 151
193 51212 1359 151
193 51213 1359 152
193 51214 1362 152
193 51215 1363 152
193 51216 1358 153
193 51217 1360 153
193 51218 1362 153
193 51219 1363 153
193 51220 1364 153
193 51225 1358 155
193 51226 1359 155
193 51227 1360 155
193 51228 1361 155
193 51229 1362 155
193 51230 1363 155
193 51231 1364 155
193 51232 1358 156
193 51233 1359 156
193 51234 1360 156
193 51235 1361 156
193 51236 1362 156
193 51237 1363 156
193 51238 1364 156
193 51239 1358 157
193 51240 1359 157
193 51241 1360 157
193 51242 1361 157
193 51243 1362 157
193 51244 1358 158
193 51245 1359 158
193 51246 1360 158
193 51247 1361 158
193 51248 1362 158
193 51249 1358 159
193 51250 1359 159
193 51251 1360 159
193 51252 1361 159
193 51253 1362 159
193 51254 1358 160
193 51255 1359 160
193 51256 1360 160
193 51257 1358 161
193 51258 1359 161
193 51259 1358 162
193 51260 1359 162
193 51261 1360 162
193 51262 1361 162
193 51263 1362 162
193 51264 1363 162
193 51265 1364 162
193 51266 1358 163
193 51267 1359 163
193 51268 1360 163
193 51269 1361 163
193 51270 1362 163
193 51271 1363 163
193 51272 1364 163
193 51273 1358 164
193 51274 1359 164
193 51275 1360 164
193 51276 1361 164
193 51277 1362 164
193 51278 1358 165
193 51279 1359 165
193 51280 1360 165
193 51281 1361 165
193 51282 1362 165
193 51283 1358 166
193 51284 1359 166
193 51285 1360 166
193 51286 1361 166
193 51287 1362 166
193 51288 1363 166
193 51289 1364 166
193 51290 1358 167
193 51291 1359 167
193 51292 1360 167
193 51293 1361 167
193 51294 1362 167
193 51310 1358 193
193 51311 1359 193
193 51312 1360 193
193 51313 1361 193
193 51314 1362 193
193 51325 1378 196
193 51327 1359 200
193 51328 1360 200
193 51329 1361 200
193 51330 1359 201
193 51331 1360 201
193 51332 1361 201
193 51336 1358 203
193 51337 1359 203
193 51338 1360 203
193 51339 1361 203
193 51344 1386 211
193 51345 1386 212
193 51346 1386 213
193 51347 1389 221
193 51348 1386 223
193 51350 1386 226
193 51374 1359 239
193 51375 1360 239
193 51376 1358 240
193 51377 1359 240
193 51378 1360 240
193 51379 1361 240
193 51380 1362 240
193 51381 1360 241
193 51382 1361 241
193 51390 1358 244
193 51391 1359 244
193 51392 1360 244
193 51393 1361 244
193 51394 1362 244
193 51444 1358 152
193 51445 1360 152
193 51446 1361 152
193 51447 1364 152
193 51448 1359 153
193 51449 1361 153
193 51450 1377 199
193 51451 1393 199