Stay in Chetumal. There is Coco Locos Hotel and Holiday Inn. Both are OK. Then get a taxi to get over the border in the morning for flight to San Pedro. The border can be a PIA at night.