SELECT 
  f.feature_id, 
  f.purpose, 
  p.product_id, 
  p.parent_product_id, 
  g.id, 
  g.code 
FROM 
  cscart_product_variation_group_features AS f 
  INNER JOIN cscart_product_variation_groups AS g ON f.group_id = g.id 
  INNER JOIN cscart_product_variation_group_products AS p ON f.group_id = p.group_id 
WHERE 
  p.product_id IN (
    435351, 456510, 404001, 413818, 442117, 
    433550, 450230, 439049, 414690, 448070, 
    414544, 431904, 404473, 422990, 448236, 
    413068, 425901, 407405, 406178, 437072, 
    430766, 447574, 460572, 460325, 406193, 
    451309, 446162, 438117, 439044, 406083, 
    415033, 460158, 422354, 409660, 453640, 
    424754, 410340, 417422, 422439, 422004, 
    421990, 446415, 436834, 440447, 410009, 
    439533, 411516, 442635, 442715, 430741, 
    406089, 410471, 409489, 412459, 424229, 
    448141, 452096, 435935, 450361, 410461, 
    454777, 444113, 417555, 428819, 454049, 
    459252, 405167, 401806, 425534, 458860, 
    447690, 422606, 413386, 442183, 419735, 
    432464, 440571, 426931, 418909, 439791, 
    454556, 443028, 452359, 449330, 402443, 
    418233, 438218, 431841, 439184, 457686, 
    448158, 426138, 428377, 411651, 455838, 
    431788
  )

Query time 0.00062

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost": 0.03140489,
    "nested_loop": [
      {
        "table": {
          "table_name": "g",
          "access_type": "index",
          "possible_keys": ["PRIMARY"],
          "key": "idx_group_code",
          "key_length": "387",
          "used_key_parts": ["code"],
          "loops": 1,
          "rows": 2,
          "cost": 0.00693929,
          "filtered": 100,
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "f",
          "access_type": "ref",
          "possible_keys": ["idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["u985510652_ecartify.g.id"],
          "loops": 2,
          "rows": 1,
          "cost": 0.00527872,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "p",
          "access_type": "ref",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "idx_group_id",
          "key_length": "3",
          "used_key_parts": ["group_id"],
          "ref": ["u985510652_ecartify.g.id"],
          "loops": 2,
          "rows": 8,
          "cost": 0.01918688,
          "filtered": 100,
          "index_condition": "p.product_id in (435351,456510,404001,413818,442117,433550,450230,439049,414690,448070,414544,431904,404473,422990,448236,413068,425901,407405,406178,437072,430766,447574,460572,460325,406193,451309,446162,438117,439044,406083,415033,460158,422354,409660,453640,424754,410340,417422,422439,422004,421990,446415,436834,440447,410009,439533,411516,442635,442715,430741,406089,410471,409489,412459,424229,448141,452096,435935,450361,410461,454777,444113,417555,428819,454049,459252,405167,401806,425534,458860,447690,422606,413386,442183,419735,432464,440571,426931,418909,439791,454556,443028,452359,449330,402443,418233,438218,431841,439184,457686,448158,426138,428377,411651,455838,431788)"
        }
      }
    ]
  }
}