Online selective conformal inference: adaptive scores, convergence rate and optimality