Backdoor Secrets Unveiled: Identifying Backdoor Data with Optimized Scaled Prediction Consistency