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 (
    908, 3090, 2372, 2752, 1143, 2359, 2559, 
    2363, 2845, 2822, 2603, 3136, 2253, 
    2367, 2854, 2751, 2809, 2255, 2587, 
    2927, 2729, 2761, 3140, 1542
  )

Query time 0.00199

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "35.91"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "p",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "idx_group_id"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "product_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 26,
          "rows_produced_per_join": 26,
          "filtered": "100.00",
          "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`p`.`product_id` in (908,3090,2372,2752,1143,2359,2559,2363,2845,2822,2603,3136,2253,2367,2854,2751,2809,2255,2587,2927,2729,2761,3140,1542))",
          "cost_info": {
            "read_cost": "15.11",
            "eval_cost": "2.60",
            "prefix_cost": "17.71",
            "data_read_per_join": "416"
          },
          "used_columns": [
            "product_id",
            "parent_product_id",
            "group_id"
          ]
        }
      },
      {
        "table": {
          "table_name": "g",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "id"
          ],
          "key_length": "3",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.p.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 26,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "6.50",
            "eval_cost": "2.60",
            "prefix_cost": "26.81",
            "data_read_per_join": "10K"
          },
          "used_columns": [
            "id",
            "code"
          ]
        }
      },
      {
        "table": {
          "table_name": "f",
          "access_type": "ref",
          "possible_keys": [
            "idx_group_id"
          ],
          "key": "idx_group_id",
          "used_key_parts": [
            "group_id"
          ],
          "key_length": "3",
          "ref": [
            "softwarepirmam_hewadelivard_cscart_4.p.group_id"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 26,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "6.50",
            "eval_cost": "2.60",
            "prefix_cost": "35.91",
            "data_read_per_join": "2K"
          },
          "used_columns": [
            "feature_id",
            "purpose",
            "group_id"
          ]
        }
      }
    ]
  }
}

Result

feature_id purpose product_id parent_product_id id code
656 group_variation_catalog_item 908 0 45 PV-8ACC44ABF
656 group_variation_catalog_item 1143 0 66 PV-C626C1CC1
656 group_variation_catalog_item 1542 0 115 PV-431188704
656 group_variation_catalog_item 2253 0 161 PV-76A2C3B09
656 group_variation_catalog_item 2255 0 158 PV-3FEA86739
656 group_variation_catalog_item 2363 0 175 PV-6A0D34663
656 group_variation_catalog_item 2559 0 219 PV-C5DF1E08A
656 group_variation_catalog_item 2587 0 231 PV-31796799F
656 group_variation_catalog_item 2603 0 236 PV-79BDC79DC
656 group_variation_catalog_item 2729 0 268 PV-71D4EBAAD
656 group_variation_catalog_item 2751 0 272 PV-F86282E5B
656 group_variation_catalog_item 2752 0 273 PV-91B97E55A
656 group_variation_catalog_item 2761 0 274 PV-04FBC6EFA
656 group_variation_catalog_item 2822 0 284 PV-79F15AEC3
656 group_variation_catalog_item 2845 0 289 PV-AF9902EFF
656 group_variation_catalog_item 2854 0 293 PV-FAF7F3D7F
656 group_variation_catalog_item 2927 0 307 PV-F7FB1BEC4
656 group_variation_catalog_item 3090 0 340 PV-1EDF3347F
656 group_variation_catalog_item 3136 0 349 PV-80F686A55
656 group_variation_catalog_item 3140 0 350 PV-0582B886C