SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '045e7e82fcf1c42a160bf719da735206b13b3461417603bc0ad3db560641b66e' 
  AND token = '6a+bGbS4eCl3zuffRP9AeW8IAJvnAuadf3kKmMMSazo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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