SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a821e8bd820b02f38f9fef78e65601d9d5cfb6b2a04df086e720394e88bc3a5' 
  AND token = 'PcOYR+/AHKeTeXbJ5q2/RCxgdKh+rXT+8TveuT67LvI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00074

JSON explain

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