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 (
    792, 47650, 36232, 44485, 41109, 28128, 
    36275, 44475, 41364, 990, 44763, 47611, 
    47831, 44473, 47256, 24711, 43818, 
    41954, 36234, 47354, 47878, 47926, 
    44412, 44414, 36280, 47614, 47876, 
    47925, 44415, 47352, 35891, 41379
  )

Query time 0.00192

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "p",
          "access_type": "range",
          "possible_keys": ["PRIMARY", "idx_group_id"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["product_id"],
          "rows": 32,
          "filtered": 100,
          "index_condition": "p.product_id in (792,47650,36232,44485,41109,28128,36275,44475,41364,990,44763,47611,47831,44473,47256,24711,43818,41954,36234,47354,47878,47926,44412,44414,36280,47614,47876,47925,44415,47352,35891,41379)"
        }
      },
      {
        "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": ["dev_db.p.group_id"],
          "rows": 1,
          "filtered": 100
        }
      },
      {
        "table": {
          "table_name": "g",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["id"],
          "ref": ["dev_db.p.group_id"],
          "rows": 1,
          "filtered": 100
        }
      }
    ]
  }
}

Result

feature_id purpose product_id parent_product_id id code
21945 group_variation_catalog_item 990 0 14246 PV-8F4307B14
22100 group_variation_catalog_item 24711 0 14383 PV-3CF2076E1
22908 group_variation_catalog_item 28128 0 15054 PV-03DFEAD64
23628 group_variation_catalog_item 35891 0 15749 PV-110AE735D
23680 group_variation_catalog_item 36232 0 15801 PV-9A15C8F09
23681 group_variation_catalog_item 36234 0 15802 PV-CC2C8BA36
23702 group_variation_catalog_item 36275 0 15812 PV-4BD377454
23702 group_variation_catalog_item 36280 0 15817 PV-71FDF6A78
24191 group_variation_catalog_item 41109 0 16425 PV-2A5767538
24220 group_variation_catalog_item 41379 0 16478 PV-EBD67E6F0
24769 group_variation_catalog_item 47256 0 17019 PV-97FEC6A70
24839 group_variation_catalog_item 47650 0 17094 PV-F9C210699