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 (
    159, 244, 215, 164, 157, 130, 229, 145, 
    141, 220, 155, 213, 146, 147, 153, 179, 
    225, 228, 227, 168, 221, 151, 171, 152, 
    226, 172
  )

Query time 0.00181

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "90.54"
    },
    "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": 27,
          "filtered": "19.15",
          "using_index": true,
          "cost_info": {
            "read_cost": "12.24",
            "eval_cost": "2.70",
            "prefix_cost": "14.94",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`test_uchur_k`.`gpf`.`group_id` in (159,244,215,164,157,130,229,145,141,220,155,213,146,147,153,179,225,228,227,168,221,151,171,152,226,172))"
        }
      },
      {
        "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": 108,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "27.00",
            "eval_cost": "10.80",
            "prefix_cost": "52.74",
            "data_read_per_join": "1K"
          },
          "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": 108,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "27.00",
            "eval_cost": "10.80",
            "prefix_cost": "90.54",
            "data_read_per_join": "83K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
193 128 1357 130
193 51118 1364 130
193 51117 1362 130
193 51116 1361 130
193 51115 1360 130
193 51114 1359 130
193 51113 1358 130
193 51165 1370 141
193 51164 1369 141
193 51163 1368 141
193 51162 1367 141
193 51161 1366 141
193 52 1365 141
193 51183 1365 145
193 20 1371 145
193 51188 1370 145
193 51187 1369 145
193 51186 1368 145
193 51185 1367 145
193 51184 1366 145
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 51243 1362 157
193 51242 1361 157
193 51241 1360 157
193 51240 1359 157
193 51239 1358 157
193 36 1357 157
193 51253 1362 159
193 51252 1361 159
193 51251 1360 159
193 51250 1359 159
193 51249 1358 159
193 34 1357 159
193 51273 1358 164
193 147 1357 164
193 51277 1362 164
193 51276 1361 164
193 51275 1360 164
193 51274 1359 164
193 9 1373 168
193 59 1373 171
193 60 1373 172
193 13 1373 179
193 51346 1386 213
193 118 1385 213
193 114 1373 215
193 84 1387 220
193 51347 1389 221
193 85 1388 221
193 61 1373 225
193 51350 1386 226
193 123 1385 226
193 15 1373 227
193 95 1373 228
193 51352 1392 229
193 51351 1391 229
193 96 1390 229
193 89 1357 244
193 51390 1358 244
193 51391 1359 244
193 51392 1360 244
193 51393 1361 244
193 51394 1362 244