This is how they do it. Often times those burger patties are frozen but cooked in high heat so it would be ready in a few seconds. This makes it easier for them to make a lot of burgers in just a few minutes, too. After all everything needs to be quick in this fastfood store.