SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b89ab3efffda4cdc0dd2bb7aad1621ca6321b558f13476bbb481fb7e2aab8dfe' 
  AND token = 'ufaUTnpUpCCUiiCIw3aijMj58qbZS03OXyHrmJ9Rx1g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}