SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24064c575a95d7d734afbbed519afcec8c29b4920cb08a1ad6ad3c004940cf98' 
  AND token = 'PFdY4aI8w08n2fBcunCobfj1LfFe8TTqYwjFTfVvyq8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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