Statement cache for prepared statements