SELECT 
  product_id, 
  group_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  group_id IN (
    184, 187, 189, 188, 183, 35, 186, 185, 
    197
  )

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "6.31"
    },
    "table": {
      "table_name": "cscart_product_variation_group_products",
      "access_type": "range",
      "possible_keys": [
        "idx_group_id"
      ],
      "key": "idx_group_id",
      "used_key_parts": [
        "group_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 9,
      "rows_produced_per_join": 9,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_variation_group_products`.`group_id` in (184,187,189,188,183,35,186,185,197))",
      "cost_info": {
        "read_cost": "5.41",
        "eval_cost": "0.90",
        "prefix_cost": "6.31",
        "data_read_per_join": "144"
      },
      "used_columns": [
        "product_id",
        "group_id"
      ]
    }
  }
}

Result

product_id group_id
82 35
56 183
126 184
51295 185
117 185
116 186
115 187
81 188
11 189
63 197