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 = 'en' 
  AND gp.group_id IN (853, 855, 864, 865)

Query time 0.00308

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "192.78"
    },
    "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": 61,
          "rows_produced_per_join": 61,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`gp`.`group_id` in (853,855,864,865))",
          "cost_info": {
            "read_cost": "22.36",
            "eval_cost": "6.10",
            "prefix_cost": "28.46",
            "data_read_per_join": "976"
          },
          "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": "idx_product_feature_variant_id",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "ref": [
            "test2_gaseus.gp.product_id"
          ],
          "rows_examined_per_scan": 7,
          "rows_produced_per_join": 232,
          "filtered": "54.46",
          "using_index": true,
          "cost_info": {
            "read_cost": "40.23",
            "eval_cost": "23.26",
            "prefix_cost": "111.39",
            "data_read_per_join": "179K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "(`test2_gaseus`.`pfv`.`lang_code` = 'en')"
        }
      },
      {
        "table": {
          "table_name": "gpf",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id",
            "group_id"
          ],
          "key_length": "6",
          "ref": [
            "test2_gaseus.pfv.feature_id",
            "test2_gaseus.gp.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 232,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "58.14",
            "eval_cost": "23.26",
            "prefix_cost": "192.78",
            "data_read_per_join": "23K"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
553 12363 1935 853
624 12363 2403 853
625 12363 2388 853
627 12363 1954 853
628 12363 1660 853
553 12349 1935 853
624 12349 2403 853
625 12349 2133 853
627 12349 2378 853
628 12349 1660 853
553 12351 1935 853
624 12351 2403 853
625 12351 2135 853
627 12351 2378 853
628 12351 1660 853
553 12350 1935 853
624 12350 2403 853
625 12350 2134 853
627 12350 2378 853
628 12350 1660 853
553 12353 1935 853
624 12353 2403 853
625 12353 2388 853
627 12353 2378 853
628 12353 1660 853
553 12352 1935 853
624 12352 2403 853
625 12352 2136 853
627 12352 2378 853
628 12352 1660 853
553 12355 1935 853
624 12355 2403 853
625 12355 2134 853
627 12355 1836 853
628 12355 1660 853
553 12354 1935 853
624 12354 2403 853
625 12354 2133 853
627 12354 1836 853
628 12354 1660 853
553 12362 1935 853
624 12362 2403 853
625 12362 2136 853
627 12362 1954 853
628 12362 1660 853
553 12360 1935 853
624 12360 2403 853
625 12360 2134 853
627 12360 1954 853
628 12360 1660 853
553 12361 1935 853
624 12361 2403 853
625 12361 2135 853
627 12361 1954 853
628 12361 1660 853
553 12358 1935 853
624 12358 2403 853
625 12358 2388 853
627 12358 1836 853
628 12358 1660 853
553 12359 1935 853
624 12359 2403 853
625 12359 2133 853
627 12359 1954 853
628 12359 1660 853
553 12356 1935 853
624 12356 2403 853
625 12356 2135 853
627 12356 1836 853
628 12356 1660 853
553 12357 1935 853
624 12357 2403 853
625 12357 2136 853
627 12357 1836 853
628 12357 1660 853
553 12378 1935 855
624 12378 2381 855
625 12378 2388 855
627 12378 1954 855
628 12378 1712 855
553 12377 1935 855
624 12377 2381 855
625 12377 2411 855
627 12377 1954 855
628 12377 1712 855
553 12376 1935 855
624 12376 2381 855
625 12376 2410 855
627 12376 1954 855
628 12376 1712 855
553 12375 1935 855
624 12375 2381 855
625 12375 2409 855
627 12375 1954 855
628 12375 1712 855
553 12374 1935 855
624 12374 2381 855
625 12374 2408 855
627 12374 1954 855
628 12374 1712 855
553 12373 1935 855
624 12373 2381 855
625 12373 2388 855
627 12373 1836 855
628 12373 1712 855
553 12372 1935 855
624 12372 2381 855
625 12372 2411 855
627 12372 1836 855
628 12372 1712 855
553 12371 1935 855
624 12371 2381 855
625 12371 2410 855
627 12371 1836 855
628 12371 1712 855
553 12370 1935 855
624 12370 2381 855
625 12370 2409 855
627 12370 1836 855
628 12370 1712 855
553 12369 1935 855
624 12369 2381 855
625 12369 2408 855
627 12369 1836 855
628 12369 1712 855
553 12368 1935 855
624 12368 2381 855
625 12368 2388 855
627 12368 2378 855
628 12368 1712 855
553 12367 1935 855
624 12367 2381 855
625 12367 2411 855
627 12367 2378 855
628 12367 1712 855
553 12366 1935 855
624 12366 2381 855
625 12366 2410 855
627 12366 2378 855
628 12366 1712 855
553 12365 1935 855
624 12365 2381 855
625 12365 2409 855
627 12365 2378 855
628 12365 1712 855
553 12364 1935 855
624 12364 2381 855
625 12364 2408 855
627 12364 2378 855
628 12364 1712 855
553 12506 1935 864
624 12506 2381 864
625 12506 2131 864
627 12506 2424 864
628 12506 1660 864
553 12505 1935 864
624 12505 2381 864
625 12505 2415 864
627 12505 2424 864
628 12505 1660 864
553 12504 1935 864
624 12504 2381 864
625 12504 2423 864
627 12504 2424 864
628 12504 1660 864
553 12514 1935 864
624 12514 2381 864
625 12514 2423 864
627 12514 1836 864
628 12514 1660 864
553 12513 1935 864
624 12513 1803 864
625 12513 2173 864
627 12513 2424 864
628 12513 1660 864
553 12512 1935 864
624 12512 1803 864
625 12512 2426 864
627 12512 2424 864
628 12512 1660 864
553 12511 1935 864
624 12511 1803 864
625 12511 2131 864
627 12511 2424 864
628 12511 1660 864
553 12510 1935 864
624 12510 1803 864
625 12510 2415 864
627 12510 2424 864
628 12510 1660 864
553 12509 1935 864
624 12509 1803 864
625 12509 2423 864
627 12509 2424 864
628 12509 1660 864
553 12508 1935 864
624 12508 2381 864
625 12508 2173 864
627 12508 2424 864
628 12508 1660 864
553 12507 1935 864
624 12507 2381 864
625 12507 2426 864
627 12507 2424 864
628 12507 1660 864
553 12516 1935 864
624 12516 2381 864
625 12516 2131 864
627 12516 1836 864
628 12516 1660 864
553 12515 1935 864
624 12515 2381 864
625 12515 2415 864
627 12515 1836 864
628 12515 1660 864
553 12517 1935 864
624 12517 2381 864
625 12517 2426 864
627 12517 1836 864
628 12517 1660 864
553 12518 1935 864
624 12518 2381 864
625 12518 2173 864
627 12518 1836 864
628 12518 1660 864
553 12519 1935 864
624 12519 1803 864
625 12519 2423 864
627 12519 1836 864
628 12519 1660 864
553 12520 1935 864
624 12520 1803 864
625 12520 2415 864
627 12520 1836 864
628 12520 1660 864
553 12522 1935 864
624 12522 1803 864
625 12522 2426 864
627 12522 1836 864
628 12522 1660 864
553 12521 1935 864
624 12521 1803 864
625 12521 2131 864
627 12521 1836 864
628 12521 1660 864
553 12523 1935 864
624 12523 1803 864
625 12523 2173 864
627 12523 1836 864
628 12523 1660 864
553 12524 1935 865
624 12524 2381 865
625 12524 2423 865
627 12524 2424 865
628 12524 1712 865
553 12525 1935 865
624 12525 2381 865
625 12525 2415 865
627 12525 2424 865
628 12525 1712 865
553 12526 1935 865
624 12526 2381 865
625 12526 2131 865
627 12526 2424 865
628 12526 1712 865
553 12528 1935 865
624 12528 1803 865
625 12528 2423 865
627 12528 2424 865
628 12528 1712 865
553 12527 1935 865
624 12527 2381 865
625 12527 2426 865
627 12527 2424 865
628 12527 1712 865
553 12530 1935 865
624 12530 1803 865
625 12530 2131 865
627 12530 2424 865
628 12530 1712 865
553 12529 1935 865
624 12529 1803 865
625 12529 2415 865
627 12529 2424 865
628 12529 1712 865
553 12531 1935 865
624 12531 1803 865
625 12531 2426 865
627 12531 2424 865
628 12531 1712 865
553 12532 1935 865
624 12532 2381 865
625 12532 2423 865
627 12532 1836 865
628 12532 1712 865
553 12533 1935 865
624 12533 2381 865
625 12533 2415 865
627 12533 1836 865
628 12533 1712 865
553 12534 1935 865
624 12534 2381 865
625 12534 2131 865
627 12534 1836 865
628 12534 1712 865
553 12535 1935 865
624 12535 2381 865
625 12535 2426 865
627 12535 1836 865
628 12535 1712 865