SQL: Remove deprecated table_cache and use higher table_open_cache value - fixes #435