As of this writing (2021-03-23), the DELETE /api/projects/:id/merge_requests/:merge_request_iid endpoint can execute around 236 SQL queries max.
DELETE /api/projects/:id/merge_requests/:merge_request_iid
In average though, it only takes ~21 queries. This shows that there's a possible N+1 issue here.