You will need to claim your bags when you clear immigration, go thru customs, then re-check bags again at either Tropic or Maya, depends upon whom you are flying to SP with. Then clear BZE security & proceed to gate.
I've done it in as little as 10 minutes and as long as 45 minutes....some say they have taken an hour or more, but never been my experience. It might depend upon when you are coming.
If you have already booked your SP flight don't worry, they will get you there. If you miss the scheduled flight, they will simply put you on the next one.