Moukhliss opened the scoring as early as in the fourth minute, while Gelabert doubled the lead by striking one in the 71st minute.
Spain finished the league engagements in Group D in second position with six points behind leaders Brazil. Spain lost to Brazil in their tournament opener, but bounced back with a 4-0 rout of Niger.
At the Jawaharlal Nehru Stadium, Spain had no trouble against their opponents from Korea, and the match went on expected lines.
The first goal came when Moukhliss shot one from the centre of the box off an assist by Gelabert.
More From This Section
The Spanish dominated the game and had the lion's share of possession throughout.
Gelabert added the second goal in the second half, as his right-footed shot from a very close range found the back of the net.
So dominant was Spain that they even came close to scoring in the injury time of the second half.
Spain had come into the tournament as one of the title favourites. They had started well against the South American giants Brazil, before defensive lapses saw them go down 1-2.