Are SIM cards sold at the malaysia-thailand border?

Hi, im traveling from kl to hat yai. does anyone know if i can buy a SIM card at the border crossing. Will be using it mainly for data to power google maps to find my way around.

I didn't notice a shop at the crossing I used, but there were loads at the first small towns on both sides.