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

Query time 0.00016

JSON explain

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