SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5385e03a2f3999062f2af3e48a76247f86164d63967f3f2e8cde799c521825e1' 
  AND token = 'fCLZVrVXInCvsqXHM5EpFpgnx617piqoIGKcAQVY3U8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}