SELECT 
  product_id, 
  group_id 
FROM 
  cscart_product_variation_group_products 
WHERE 
  group_id IN (
    1160, 1103, 1129, 1159, 1173, 1086, 1146, 
    1174, 1163, 1053, 1139, 1175, 1122, 
    1104, 1155, 1178, 1180, 1148, 1176
  )

Query time 0.00080

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "31.76"
    },
    "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": 60,
      "rows_produced_per_join": 60,
      "filtered": "100.00",
      "index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_variation_group_products`.`group_id` in (1160,1103,1129,1159,1173,1086,1146,1174,1163,1053,1139,1175,1122,1104,1155,1178,1180,1148,1176))",
      "cost_info": {
        "read_cost": "25.76",
        "eval_cost": "6.00",
        "prefix_cost": "31.76",
        "data_read_per_join": "960"
      },
      "used_columns": [
        "product_id",
        "group_id"
      ]
    }
  }
}

Result

product_id group_id
11013 1053
11011 1053
11015 1053
11014 1053
11016 1053
11228 1086
11229 1086
11330 1103
11331 1103
11332 1103
11333 1104
11334 1104
11335 1104
11373 1122
11376 1122
11401 1129
11402 1129
11403 1129
11404 1129
11405 1129
11432 1139
11433 1139
11459 1146
11461 1146
11464 1148
11466 1148
11468 1148
11482 1155
11483 1155
11484 1155
11485 1155
11486 1155
11496 1159
11497 1159
11498 1159
11499 1159
11501 1160
11502 1160
11503 1160
11504 1160
11511 1163
11512 1163
11513 1163
11540 1173
11541 1173
11544 1174
11545 1174
11546 1174
11547 1175
11548 1175
11549 1176
11554 1176
11556 1176
11557 1178
11558 1178
11568 1180
11569 1180