SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5b940e52a877e68830478928066539572fbc5d7f08f90608ac802d54fdb760e9' 
  AND token = 'A/K9to2ATAQHCXhV35PqM8pAu8NpJ3oTvtKiRmH5MTA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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