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 (
    260, 258, 257, 190, 192, 259, 191, 194, 
    195, 255, 256, 140, 125, 139, 126, 128, 
    236, 124, 127, 254, 102, 143, 214, 206, 
    133, 132, 131, 154, 248, 184, 235, 233, 
    187, 253, 138, 189, 243, 134, 234, 142, 
    137, 150, 188, 183, 35, 186, 185, 149, 
    205, 136, 135, 123, 122, 180, 208, 224, 
    207, 218
  )

Query time 0.00285

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "224.50"
    },
    "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": 248,
          "filtered": "49.50",
          "using_index": true,
          "cost_info": {
            "read_cost": "26.11",
            "eval_cost": "24.80",
            "prefix_cost": "50.91",
            "data_read_per_join": "3K"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ],
          "attached_condition": "(`test_uchur_k`.`gp`.`group_id` in (260,258,257,190,192,259,191,194,195,255,256,140,125,139,126,128,236,124,127,254,102,143,214,206,133,132,131,154,248,184,235,233,187,253,138,189,243,134,234,142,137,150,188,183,35,186,185,149,205,136,135,123,122,180,208,224,207,218))"
        }
      },
      {
        "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": 248,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "62.00",
            "eval_cost": "24.80",
            "prefix_cost": "137.71",
            "data_read_per_join": "25K"
          },
          "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": 248,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "62.00",
            "eval_cost": "24.80",
            "prefix_cost": "224.51",
            "data_read_per_join": "191K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
193 5 1373 218
193 11 1373 189
193 17 1373 180
193 21 1357 139
193 30 1357 234
193 31 1357 235
193 37 1357 138
193 38 1357 137
193 39 1357 136
193 40 1357 135
193 41 1357 134
193 46 1358 236
193 48 1357 133
193 49 1358 132
193 50 1357 195
193 51 1357 194
193 53 1357 140
193 56 1373 183
193 57 1373 208
193 58 1373 207
193 79 1374 233
193 80 1390 253
193 81 1373 188
3 82 6 35
193 88 1358 248
193 90 1371 142
193 91 1365 143
193 92 1357 131
193 105 1373 206
193 106 1373 205
193 115 1375 187
193 116 1375 186
193 117 1375 185
193 122 1385 224
193 124 1357 150
193 125 1357 149
193 126 1373 184
193 129 1357 192
193 137 1357 154
193 138 1358 191
193 139 1357 190
193 140 1357 243
3 21567 6 102
193 22710 1358 123
193 22711 1359 122
193 22712 1357 128
193 22713 1357 125
193 22714 1357 126
193 22715 1357 124
193 22716 1357 127
193 50989 1373 214
193 51072 1360 122
193 51073 1361 122
193 51074 1362 122
193 51075 1363 122
193 51076 1364 122
193 51077 1359 123
193 51078 1360 123
193 51079 1361 123
193 51080 1362 123
193 51081 1358 124
193 51082 1359 124
193 51083 1360 124
193 51084 1361 124
193 51085 1362 124
193 51086 1358 125
193 51087 1359 125
193 51088 1360 125
193 51089 1361 125
193 51090 1362 125
193 51091 1358 126
193 51092 1359 126
193 51093 1360 126
193 51094 1361 126
193 51095 1362 126
193 51096 1358 127
193 51097 1359 127
193 51098 1360 127
193 51099 1361 127
193 51100 1362 127
193 51101 1358 128
193 51102 1359 128
193 51103 1360 128
193 51104 1361 128
193 51105 1362 128
193 51119 1358 131
193 51120 1359 131
193 51121 1360 131
193 51122 1361 131
193 51123 1362 131
193 51124 1359 132
193 51125 1358 133
193 51126 1359 133
193 51127 1360 133
193 51128 1361 133
193 51129 1362 133
193 51130 1358 134
193 51131 1359 134
193 51132 1360 134
193 51133 1361 134
193 51134 1362 134
193 51135 1358 135
193 51136 1359 135
193 51137 1360 135
193 51138 1361 135
193 51139 1362 135
193 51140 1358 136
193 51141 1359 136
193 51142 1360 136
193 51143 1361 136
193 51144 1362 136
193 51145 1358 137
193 51146 1359 137
193 51147 1360 137
193 51148 1361 137
193 51149 1358 138
193 51150 1361 138
193 51151 1362 138
193 51152 1358 139
193 51153 1359 139
193 51154 1360 139
193 51155 1361 139
193 51156 1358 140
193 51157 1359 140
193 51158 1360 140
193 51159 1361 140
193 51160 1362 140
193 51166 1365 142
193 51167 1366 142
193 51168 1367 142
193 51169 1368 142
193 51170 1369 142
193 51171 1370 142
193 51172 1366 143
193 51173 1367 143
193 51174 1368 143
193 51175 1369 143
193 51176 1370 143
193 51202 1374 149
193 51203 1358 149
193 51204 1359 149
193 51205 1360 149
193 51206 1374 150
193 51207 1358 150
193 51208 1359 150
193 51209 1360 150
193 51221 1358 154
193 51222 1359 154
193 51223 1360 154
193 51224 1361 154
193 51295 1376 185
193 51296 1358 190
193 51297 1359 190
193 51298 1360 190
193 51299 1361 190
193 51300 1362 190
193 51301 1359 191
193 51302 1360 191
193 51303 1361 191
193 51304 1362 191
193 51305 1358 192
193 51306 1359 192
193 51307 1360 192
193 51308 1361 192
193 51309 1362 192
193 51315 1358 194
193 51316 1359 194
193 51317 1360 194
193 51318 1361 194
193 51319 1362 194
193 51320 1358 195
193 51321 1359 195
193 51322 1360 195
193 51323 1361 195
193 51324 1362 195
193 51349 1386 224
193 51357 1357 233
193 51358 1358 233
193 51359 1359 233
193 51360 1360 233
193 51361 1358 234
193 51362 1359 234
193 51363 1360 234
193 51364 1361 234
193 51365 1362 234
193 51366 1358 235
193 51367 1359 235
193 51368 1360 235
193 51369 1361 235
193 51370 1359 236
193 51371 1360 236
193 51372 1361 236
193 51373 1362 236
193 51385 1358 243
193 51386 1359 243
193 51387 1360 243
193 51388 1361 243
193 51389 1362 243
193 51395 1359 248
193 51396 1361 248
193 51397 1362 248
193 51398 1391 253
193 51399 1392 253
193 51443 1357 191
193 51452 1357 236
193 51453 1363 236
193 51496 1373 254
193 51497 1373 255
193 51498 1373 256
193 51555 1357 248
193 51556 1360 248
193 51564 1371 257
193 51565 1357 258
193 51566 1365 259
193 51567 1357 260
193 51568 1365 257
193 51569 1366 257
193 51570 1367 257
193 51571 1368 257
193 51572 1369 257
193 51573 1370 257
193 51574 1358 258
193 51575 1360 258
193 51576 1361 258
193 51577 1362 258
193 51578 1366 259
193 51579 1367 259
193 51580 1368 259
193 51581 1370 259
193 51582 1358 260
193 51583 1359 260
193 51584 1360 260
193 51585 1361 260
193 51586 1362 260