SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '817ee96eeef4d31b766b8dc887a67b35929c5827c75c9e0a20ff599e2e916e0f' 
  AND token = 'gL7jt9PVMonJgcpZsu1eJab4IGx07vHQxNWG/rIAtLk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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