Automatic index selection with learned cost estimator