SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21a7a3b0aa922beebb8b1b24ab85ff7512f64b650b4db25b7ea1e49e73c3f6e7' 
  AND token = 'DiQlsOS61tupx+lF1zx25COnbqDaWpNA43fk+UQuQEA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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