SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d774a1bc812083c487a13af87b176da6a58182bb5975150d00512893b51c3b6' 
  AND token = 's7U8eBqXlMoJhfvVlkR3ZUZLXDmdiWuAft49dDFJwR0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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