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, 204, 
    206, 133, 132, 131, 154, 248, 184, 235
  )

Query time 0.00153

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "143.74"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "gpf",
          "access_type": "index",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "group_id"
          ],
          "key_length": "6",
          "rows_examined_per_scan": 141,
          "rows_produced_per_join": 46,
          "filtered": "32.62",
          "using_index": true,
          "cost_info": {
            "read_cost": "10.34",
            "eval_cost": "4.60",
            "prefix_cost": "14.94",
            "data_read_per_join": "4K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`test_uchur_k`.`gpf`.`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,204,206,133,132,131,154,248,184,235))"
        }
      },
      {
        "table": {
          "table_name": "gp",
          "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.gpf.group_id"
          ],
          "rows_examined_per_scan": 4,
          "rows_produced_per_join": 184,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "46.00",
            "eval_cost": "18.40",
            "prefix_cost": "79.34",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "product_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": 184,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "46.00",
            "eval_cost": "18.40",
            "prefix_cost": "143.74",
            "data_read_per_join": "142K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
3 21567 6 102
193 51083 1360 124
193 51084 1361 124
193 22715 1357 124
193 51082 1359 124
193 51085 1362 124
193 51081 1358 124
193 51088 1360 125
193 51087 1359 125
193 22713 1357 125
193 51086 1358 125
193 51089 1361 125
193 51090 1362 125
193 51094 1361 126
193 51092 1359 126
193 51093 1360 126
193 22714 1357 126
193 51091 1358 126
193 51095 1362 126
193 51096 1358 127
193 51097 1359 127
193 51098 1360 127
193 51100 1362 127
193 51099 1361 127
193 22716 1357 127
193 51104 1361 128
193 51103 1360 128
193 22712 1357 128
193 51105 1362 128
193 51102 1359 128
193 51101 1358 128
193 51123 1362 131
193 51122 1361 131
193 51121 1360 131
193 51120 1359 131
193 51119 1358 131
193 92 1357 131
193 51124 1359 132
193 49 1358 132
193 51129 1362 133
193 51128 1361 133
193 51127 1360 133
193 51126 1359 133
193 51125 1358 133
193 48 1357 133
193 51155 1361 139
193 51154 1360 139
193 51153 1359 139
193 51152 1358 139
193 21 1357 139
193 51158 1360 140
193 51157 1359 140
193 51156 1358 140
193 53 1357 140
193 51160 1362 140
193 51159 1361 140
193 51176 1370 143
193 51175 1369 143
193 51174 1368 143
193 51173 1367 143
193 51172 1366 143
193 91 1365 143
193 51221 1358 154
193 137 1357 154
193 51224 1361 154
193 51223 1360 154
193 51222 1359 154
193 126 1373 184
193 51297 1359 190
193 51296 1358 190
193 139 1357 190
193 51300 1362 190
193 51299 1361 190
193 51298 1360 190
193 51304 1362 191
193 51303 1361 191
193 51302 1360 191
193 51301 1359 191
193 138 1358 191
193 51443 1357 191
193 51309 1362 192
193 51308 1361 192
193 51307 1360 192
193 51306 1359 192
193 51305 1358 192
193 129 1357 192
193 51318 1361 194
193 51317 1360 194
193 51316 1359 194
193 51315 1358 194
193 51 1357 194
193 51319 1362 194
193 51323 1361 195
193 51322 1360 195
193 51321 1359 195
193 51320 1358 195
193 50 1357 195
193 51324 1362 195
193 51343 1384 204
193 51342 1383 204
193 51341 1382 204
193 51340 1377 204
193 47 1381 204
193 105 1373 206
193 50989 1373 214
193 31 1357 235
193 51366 1358 235
193 51367 1359 235
193 51368 1360 235
193 51369 1361 235
193 46 1358 236
193 51370 1359 236
193 51371 1360 236
193 51372 1361 236
193 51373 1362 236
193 51452 1357 236
193 51453 1363 236
193 88 1358 248
193 51395 1359 248
193 51396 1361 248
193 51397 1362 248
193 51555 1357 248
193 51556 1360 248
193 51496 1373 254
193 51497 1373 255
193 51498 1373 256
193 51564 1371 257
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 51565 1357 258
193 51574 1358 258
193 51575 1360 258
193 51576 1361 258
193 51577 1362 258
193 51566 1365 259
193 51578 1366 259
193 51579 1367 259
193 51580 1368 259
193 51581 1370 259
193 51567 1357 260
193 51582 1358 260
193 51583 1359 260
193 51584 1360 260
193 51585 1361 260
193 51586 1362 260