SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0517c69fa90fea22ab0fcb561ba7c258a991a28296d554d7188bc95c6d66316' 
  AND token = 'pMcygn+bNS6HlW+WLwCI8Sj6QPd4x9iU2q+2uRMEMME=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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