You must clear immigration, collect your baggage, clear customs, go upstairs and check in again and re check you luggage at the regular AirAsia check-in counter just the same as if a taxi dropped you off at BKK. There is no airside or on-line check-in nor any kind of interlining for AirAsia at BKK. 3 hours should be plenty of time though.