SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ffbc02a070fb63bcdb66becc30d9b13e1cd1f1ab42ae0cbe863317072d0a863' 
  AND token = 'EJgoGTbHgr/gFObf38cWpsHeJSgpDq5o0cOVwFO5jSg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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