Special Prosecutor Richard Boling told West Kentucky Star that Special Judge Timothy Stark denied the motion in McCracken County Circuit Court.
Stark and Boling were appointed in the case because McCracken County judges and prosecutors recused themselves.
Ray was arrested in December 2017 for allegedly giving false testimony during a misconduct hearing for one of her former employees. Her trial is set to begin January 30 in Paducah.
Ray is also facing a charge of violating the Kentucky Whistleblower Act, related to the firing of employee David Knight, who reported a possible misuse of force at the jail in February 2018. Knight was re-instated by the Fiscal Court, and then won the race for jailer in November 2018. Ray lost the Democratic primary for Jailer in May 2018.