Can I buy a sim card in Mancora

Hi. Is it possible to buy a Peruvian SIM card with data in Mancora? Where? We will arrive from Ecuador and will be there for a few hours in between buses. We have to change buses a lot until we reach our final destination and would be really convenient to have internet for taxis and stuff.