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 (14, 19)

Query time 0.00111

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "62.12"
    },
    "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": 21,
          "rows_produced_per_join": 4,
          "filtered": "19.05",
          "using_index": true,
          "cost_info": {
            "read_cost": "5.59",
            "eval_cost": "0.80",
            "prefix_cost": "6.39",
            "data_read_per_join": "416"
          },
          "used_columns": [
            "feature_id",
            "group_id"
          ],
          "attached_condition": "(`atulecarter_atul_demo2`.`gpf`.`group_id` in (14,19))"
        }
      },
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ref",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "feature_id"
          ],
          "key_length": "3",
          "ref": [
            "atulecarter_atul_demo2.gpf.feature_id"
          ],
          "rows_examined_per_scan": 9,
          "rows_produced_per_join": 35,
          "filtered": "99.80",
          "using_index": true,
          "cost_info": {
            "read_cost": "5.42",
            "eval_cost": "7.19",
            "prefix_cost": "19.01",
            "data_read_per_join": "27K"
          },
          "used_columns": [
            "feature_id",
            "product_id",
            "variant_id",
            "lang_code"
          ],
          "attached_condition": "(`atulecarter_atul_demo2`.`pfv`.`lang_code` = 'en')"
        }
      },
      {
        "table": {
          "table_name": "gp",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id",
            "group_id"
          ],
          "key_length": "6",
          "ref": [
            "atulecarter_atul_demo2.pfv.product_id",
            "atulecarter_atul_demo2.gpf.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 35,
          "filtered": "100.00",
          "using_index": true,
          "cost_info": {
            "read_cost": "35.93",
            "eval_cost": "7.19",
            "prefix_cost": "62.12",
            "data_read_per_join": "574"
          },
          "used_columns": [
            "product_id",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id group_id
548 466 1193 19
548 467 1194 19
548 468 1195 19
548 469 1197 19
548 470 1196 19
548 471 1193 19
548 472 1194 19
548 473 1195 19
548 474 1197 19
548 475 1196 19
548 476 1193 19
548 477 1194 19
548 478 1195 19
548 479 1197 19
548 480 1196 19
548 481 1193 19
548 482 1194 19
548 483 1195 19
548 484 1197 19
548 485 1196 19
548 486 1193 19
548 487 1194 19
548 488 1195 19
548 489 1197 19
548 490 1196 19
548 491 1193 19
548 492 1194 19
548 493 1195 19
548 494 1197 19
548 495 1196 19
548 496 1193 19
548 497 1194 19
548 498 1195 19
548 499 1197 19
548 500 1196 19
548 501 1193 19
548 502 1194 19
548 503 1195 19
548 504 1197 19
548 505 1196 19
548 506 1193 19
548 507 1194 19
548 508 1195 19
548 509 1197 19
548 510 1196 19
548 511 1193 19
548 512 1194 19
548 513 1195 19
548 514 1197 19
548 515 1196 19
549 466 1200 19
549 467 1200 19
549 468 1200 19
549 469 1200 19
549 470 1200 19
549 471 1200 19
549 472 1200 19
549 473 1200 19
549 474 1200 19
549 475 1200 19
549 476 1200 19
549 477 1200 19
549 478 1200 19
549 479 1200 19
549 480 1200 19
549 481 1200 19
549 482 1200 19
549 483 1200 19
549 484 1200 19
549 485 1200 19
549 486 1200 19
549 487 1200 19
549 488 1200 19
549 489 1200 19
549 490 1200 19
549 491 1201 19
549 492 1201 19
549 493 1201 19
549 494 1201 19
549 495 1201 19
549 496 1201 19
549 497 1201 19
549 498 1201 19
549 499 1201 19
549 500 1201 19
549 501 1201 19
549 502 1201 19
549 503 1201 19
549 504 1201 19
549 505 1201 19
549 506 1201 19
549 507 1201 19
549 508 1201 19
549 509 1201 19
549 510 1201 19
549 511 1201 19
549 512 1201 19
549 513 1201 19
549 514 1201 19
549 515 1201 19
551 312 1204 14
551 313 1205 14
551 314 1206 14
553 466 1213 19
553 467 1213 19
553 468 1213 19
553 469 1213 19
553 470 1213 19
553 471 1209 19
553 472 1209 19
553 473 1209 19
553 474 1209 19
553 475 1209 19
553 476 1210 19
553 477 1210 19
553 478 1210 19
553 479 1210 19
553 480 1210 19
553 481 1211 19
553 482 1211 19
553 483 1211 19
553 484 1211 19
553 485 1211 19
553 486 1212 19
553 487 1212 19
553 488 1212 19
553 489 1212 19
553 490 1212 19
553 491 1213 19
553 492 1213 19
553 493 1213 19
553 494 1213 19
553 495 1213 19
553 496 1209 19
553 497 1209 19
553 498 1209 19
553 499 1209 19
553 500 1209 19
553 501 1210 19
553 502 1210 19
553 503 1210 19
553 504 1210 19
553 505 1210 19
553 506 1211 19
553 507 1211 19
553 508 1211 19
553 509 1211 19
553 510 1211 19
553 511 1212 19
553 512 1212 19
553 513 1212 19
553 514 1212 19
553 515 1212 19