SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc289b6d01e23c3c197af4b655aeed013a1109439f43c90c8aaf4dd0c0816892' 
  AND token = 'exnEw7HUdQ32oY0uwqEW/InuGJ6izebVcDYAc9iY6bQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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