Here's the stuff that you already know about comp books in a query:
1. They have to be current books, pubbed no earlier than 2018 and 2019 is better.
2. They need to be on the same shelf as your book. Don't use adult books to comp a YA book.
Now, here's what you might not know:
I look up the books you use as comps. Chances are good I haven't read the comps cause I can't read everything.
I generally start at Amazon.
I read the description.
I'm looking for the answer to "Do I want to read this book?"
If I do, that bodes well for you.
If I don't, not so much.
The other thing I take a look at is what other readers have said. This isn't some sort of make or break deal but what it does is let me know if the publisher was playing fast and loose with description or category. Thrillers that aren't; erotica that's called romance.
So, take a look at the places your comp books are described. Amazon? GoodReads? Publisher's website? Author's website?
Do the descriptions there make the book sound like something you'd want to buy and read?
If it doesn't meet that standard, you should consider using a different book.
Here are two books that I found in the comp sections of queries recently.
They sounded so good I bought them both.