Tom i-a prânzul cu Mary pe terasă.

English Translation

Tom is having lunch with Mary on the porch.

shouldn’t it be “Tom ia prânzul…”??

Yes, the correct form is “Tom ia prânzul” - Tom is having lunch